[gtk+/gtk-3-4] 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+/gtk-3-4] Bug 670449-gtk/gtksettings.c: Fix build on Windows
- Date: Thu, 3 May 2012 04:02:42 +0000 (UTC)
commit 851f51c0549b12caea686a0c7c42c452de34a934
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 f265642..057ab83 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]