[gtk+] gdk/gdkconfig.h.win32: Make it more up-to-date
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk/gdkconfig.h.win32: Make it more up-to-date
- Date: Fri, 11 Feb 2011 10:07:28 +0000 (UTC)
commit 7cb41b65617a34b12148094a32bcfb2854d97ba6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Feb 11 18:05:16 2011 +0800
gdk/gdkconfig.h.win32: Make it more up-to-date
Make this pre-configured file to be more like the one used by the existing
X11 version, but using GDK_WINDOWING_WIN32 for obvious reasons.
gdk/gdkconfig.h.win32 | 33 ++++++++++++---------------------
1 files changed, 12 insertions(+), 21 deletions(-)
---
diff --git a/gdk/gdkconfig.h.win32 b/gdk/gdkconfig.h.win32
index 7bd668e..c941eb8 100644
--- a/gdk/gdkconfig.h.win32
+++ b/gdk/gdkconfig.h.win32
@@ -1,31 +1,22 @@
/* gdkconfig.h
*
- * This is a pre-generated file.
+ * This is a generated file. Please modify `configure.ac'
*/
-#ifndef GDKCONFIG_H
-#define GDKCONFIG_H
+#ifndef __GDKCONFIG_H__
+#define __GDKCONFIG_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdk.h> can be included directly."
+#endif
-#ifndef GSEAL
-/* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */
-# ifdef GSEAL_ENABLE
-# define GSEAL(ident) _g_sealed__ ## ident
-# else
-# define GSEAL(ident) ident
-# endif
-#endif /* !GSEAL */
+#include <glib.h>
+
+G_BEGIN_DECLS
-#define GDK_WINDOWING_WIN32
-#define GDK_HAVE_WCHAR_H 1
-#define GDK_HAVE_WCTYPE_H 1
+#define GDK_WINDOWING_WIN32
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
-#endif /* GDKCONFIG_H */
+#endif /* __GDKCONFIG_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]