From 2969db9993c7b00a17e279cf9c53543ae62fbed1 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 6 Apr 2012 00:28:45 +0800 Subject: [PATCH] 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). --- gtk/gtksettings.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index b7fe416e64..871c5e9f92 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -45,6 +45,10 @@ #include "quartz/gdkquartz.h" #endif +#ifdef G_OS_WIN32 +#include "gtkwin32themeprivate.h" +#endif + #undef GDK_DEPRECATED #undef GDK_DEPRECATED_FOR #define GDK_DEPRECATED