autotestkeywords.cc 738 Bytes
Newer Older
1
#include <gtk/gtk.h>
2

Matthias Clasen's avatar
Matthias Clasen committed
3
#ifdef GDK_WINDOWING_DIRECTFB
4 5 6 7 8
#define gdk_display gdk_display_directfb
#include <gdk/directfb/gdkdirectfb.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
Matthias Clasen's avatar
Matthias Clasen committed
9
#endif
10

Matthias Clasen's avatar
Matthias Clasen committed
11
#ifdef GDK_WINDOWING_QUARTZ
12 13 14 15 16 17 18
#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
Matthias Clasen's avatar
Matthias Clasen committed
19
#endif
20

Matthias Clasen's avatar
Matthias Clasen committed
21
#ifdef GDK_WINDOWING_WIN32
22 23 24 25 26
#define gdk_display gdk_display_win32
#include <gdk/win32/gdkwin32.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
Matthias Clasen's avatar
Matthias Clasen committed
27
#endif
28

Matthias Clasen's avatar
Matthias Clasen committed
29
#ifdef GDK_WINDOWING_X11
30 31 32 33 34
#define gdk_display gdk_display_x11
#include <gdk/x11/gdkx.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
Matthias Clasen's avatar
Matthias Clasen committed
35
#endif
36

37
int main() { return 0; }