]> Pileus Git - ~andy/gtk/commitdiff
Bug 670449-gtk/gtksettings.c: Fix build on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Apr 2012 16:28:45 +0000 (00:28 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 3 May 2012 03:54:15 +0000 (11:54 +0800)
On Windows, gtkwin32themeprivate.h is needed as
_gtk_win32_theme_get_default() is called on that platform to avoid C4013
warnings/errors (aka implicit declaration of ... for GCC folks).

gtk/gtksettings.c

index b7fe416e64a2c1ae1476f13ee7e379ed2a90cc2b..871c5e9f92015ff5b6456d01090a997a21244130 100644 (file)
 #include "quartz/gdkquartz.h"
 #endif
 
+#ifdef G_OS_WIN32
+#include "gtkwin32themeprivate.h"
+#endif
+
 #undef GDK_DEPRECATED
 #undef GDK_DEPRECATED_FOR
 #define GDK_DEPRECATED