forked from AuroraMiddleware/gtk
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:
parent
aeb5cb2caa
commit
2969db9993
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user