Fix testgtk.c when building for Wayland.

Fix wrong usage of GDK_WINDOWING_WAYLAND instead of
GDK_WINDOWING_X11 in test/testgtk.c.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>

https://bugzilla.gnome.org/show_bug.cgi?id=737363
This commit is contained in:
Eric Le Bihan 2014-09-25 10:11:38 +02:00 committed by Matthias Clasen
parent d17fd81d9b
commit ed5f6d4333

View File

@ -4966,7 +4966,7 @@ create_cursors (GtkWidget *widget)
"GtkWidget::visible", TRUE,
NULL);
#ifdef GDK_WINDOWING_WAYLAND
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (vbox)))
cursor_demo = TRUE;
#endif