Author: al
Date: 2010-01-31 11:36:16 +0100 (Sun, 31 Jan 2010)
New Revision: 3141
Modified:
trunk/librawstudio/rs-macros.h
Log:
Reverted back into something that compiles on Windows.
Modified: trunk/librawstudio/rs-macros.h
===================================================================
--- trunk/librawstudio/rs-macros.h 2010-01-31 10:34:47 UTC (rev 3140)
+++ trunk/librawstudio/rs-macros.h 2010-01-31 10:36:16 UTC (rev 3141)
@@ -39,12 +39,13 @@
#ifdef WIN32
#include <gdk/gdkwin32.h>
+#define GUI_CATCHUP() /* We do not have XFlush or GDK_DISPLAY_XDISPLAY in
Win32*/
#else
#include <gdk/gdkx.h>
-#endif
#define GUI_CATCHUP() do { \
GdkDisplay *__gui_catchup_display = gdk_display_get_default (); \
XFlush (GDK_DISPLAY_XDISPLAY (__gui_catchup_display)); } while (0)
+#endif
#define GTK_CATCHUP() while (gtk_events_pending()) gtk_main_iteration()
#if __GNUC__ >= 3
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit