diff --git a/testsuite/gtk/autotestkeywords.cc b/testsuite/gtk/autotestkeywords.cc index 28b1d24bac..04c637ea1e 100644 --- a/testsuite/gtk/autotestkeywords.cc +++ b/testsuite/gtk/autotestkeywords.cc @@ -1,39 +1,27 @@ #include -#ifdef GDK_WINDOWING_DIRECTFB -#define gdk_display gdk_display_directfb -#include -#undef gdk_display -#undef GDK_DISPLAY -#undef GDK_ROOT_WINDOW +#ifdef GDK_WINDOWING_BROADWAY +#include #endif #ifdef GDK_WINDOWING_QUARTZ #if HAVE_OBJC -#define gdk_display gdk_display_quartz #include -#undef gdk_display -#undef GDK_DISPLAY -#undef GDK_ROOT_WINDOW #endif #endif +#ifdef GDK_WINDOWING_WAYLAND +#include +#endif + #ifndef __OBJC__ #ifdef GDK_WINDOWING_WIN32 -#define gdk_display gdk_display_win32 #include -#undef gdk_display -#undef GDK_DISPLAY -#undef GDK_ROOT_WINDOW #endif #endif #ifdef GDK_WINDOWING_X11 -#define gdk_display gdk_display_x11 #include -#undef gdk_display -#undef GDK_DISPLAY -#undef GDK_ROOT_WINDOW #endif int main() { return 0; }