Bug 670449-gtk/gtksettings.c: Fix build on Windows

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).
This commit is contained in:
Chun-wei Fan 2012-04-06 00:28:45 +08:00
parent aeb5cb2caa
commit 2969db9993

View File

@ -45,6 +45,10 @@
#include "quartz/gdkquartz.h" #include "quartz/gdkquartz.h"
#endif #endif
#ifdef G_OS_WIN32
#include "gtkwin32themeprivate.h"
#endif
#undef GDK_DEPRECATED #undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR #undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED #define GDK_DEPRECATED