Author: rolf
Date: 2007-06-13 12:37:45 -0400 (Wed, 13 Jun 2007)
New Revision: 79447

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/runtime.cpp
Log:
2007-06-13  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>

        * runtime.cpp: Xlib and we are both defining Visual,
        so implement a workaround.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-13 16:33:25 UTC (rev 79446)
+++ trunk/moon/src/ChangeLog    2007-06-13 16:37:45 UTC (rev 79447)
@@ -1,3 +1,8 @@
+2007-06-13  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
+       * runtime.cpp: Xlib and we are both defining Visual,
+       so implement a workaround.
+
 2007-06-13  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * brush.cpp|h: Added code for LinearGradientBrush and partial setup

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2007-06-13 16:33:25 UTC (rev 79446)
+++ trunk/moon/src/runtime.cpp  2007-06-13 16:37:45 UTC (rev 79447)
@@ -15,6 +15,7 @@
 #include <malloc.h>
 #include <glib.h>
 #include <stdlib.h>
+#define Visual _XVisual
 #include <gdk/gdkx.h>
 #if AGG
 #    include <agg_rendering_buffer.h>
@@ -24,6 +25,7 @@
 #endif
 
 #include <cairo-xlib.h>
+#undef Visual
 #include "runtime.h"
 #include "shape.h"
 #include "transform.h"

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to