summaryrefslogtreecommitdiff
path: root/tests/autotestkeywords.cc
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias.hasselmann@gmx.de>2007-06-26 14:24:27 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-06-26 14:24:27 +0000
commit07946bd70d51ebda070ec558314da7348b490934 (patch)
tree4e39c7d9a34e7c4c6dfa49a5a1dfe2a2093d7c6b /tests/autotestkeywords.cc
parentdac4d352114937b463c4f7d3627389de66d54241 (diff)
downloadgtk+-07946bd70d51ebda070ec558314da7348b490934.tar.gz
Extend the C++ keyword test to include internal GDK headers (#449016).
2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de> * configure.in, tests/Makefile.am, tests/autotestkeywords.cc, tests/dummy-headers/*: Extend the C++ keyword test to include internal GDK headers (#449016). svn path=/trunk/; revision=18244
Diffstat (limited to 'tests/autotestkeywords.cc')
-rw-r--r--tests/autotestkeywords.cc33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/autotestkeywords.cc b/tests/autotestkeywords.cc
index c6bac9d613..37984b2ef2 100644
--- a/tests/autotestkeywords.cc
+++ b/tests/autotestkeywords.cc
@@ -1,2 +1,35 @@
#include <gtk/gtk.h>
+
+#define gdk_display gdk_display_directfb
+#include <gdk/directfb/gdkdirectfb.h>
+#undef gdk_display
+#undef GDK_DISPLAY
+#undef GDK_ROOT_WINDOW
+
+#define gdk_display gdk_display_linuxfb
+#include <gdk/linux-fb/gdkfb.h>
+#undef gdk_display
+#undef GDK_DISPLAY
+#undef GDK_ROOT_WINDOW
+
+#if HAVE_OBJC
+#define gdk_display gdk_display_quartz
+#include <gdk/quartz/gdkquartz.h>
+#undef gdk_display
+#undef GDK_DISPLAY
+#undef GDK_ROOT_WINDOW
+#endif
+
+#define gdk_display gdk_display_win32
+#include <gdk/win32/gdkwin32.h>
+#undef gdk_display
+#undef GDK_DISPLAY
+#undef GDK_ROOT_WINDOW
+
+#define gdk_display gdk_display_x11
+#include <gdk/x11/gdkx.h>
+#undef gdk_display
+#undef GDK_DISPLAY
+#undef GDK_ROOT_WINDOW
+
int main() { return 0; }