testsuite: Update C++ keywords test to GTK 3.0.0

This commit is contained in:
Benjamin Otte 2018-03-18 19:20:46 +01:00
parent 87fa7ff314
commit abc9b944f9

View File

@ -1,39 +1,27 @@
#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_DIRECTFB
#define gdk_display gdk_display_directfb
#include <gdk/directfb/gdkdirectfb.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
#ifdef GDK_WINDOWING_BROADWAY
#include <gdk/broadway/gdkbroadway.h>
#endif
#ifdef GDK_WINDOWING_QUARTZ
#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
#endif
#ifdef GDK_WINDOWING_WAYLAND
#include <gdk/wayland/gdkwayland.h>
#endif
#ifndef __OBJC__
#ifdef GDK_WINDOWING_WIN32
#define gdk_display gdk_display_win32
#include <gdk/win32/gdkwin32.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
#endif
#endif
#ifdef GDK_WINDOWING_X11
#define gdk_display gdk_display_x11
#include <gdk/x11/gdkx.h>
#undef gdk_display
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
#endif
int main() { return 0; }