[gtk+] Bug 670449-gtk/gtksettings.c: Fix build on Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Bug 670449-gtk/gtksettings.c: Fix build on Windows
- Date: Thu, 3 May 2012 03:55:42 +0000 (UTC)
commit 2969db9993c7b00a17e279cf9c53543ae62fbed1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Apr 6 00:28:45 2012 +0800
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index b7fe416..871c5e9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]