summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2014-09-25 10:11:38 +0200
committerMatthias Clasen <mclasen@redhat.com>2014-09-25 17:48:43 -0400
commited5f6d4333bf152072c1e6c7826185f973dba2cd (patch)
tree672df1572bcfe2d21584e08760d03e6c72361498 /tests/testgtk.c
parentd17fd81d9b631acf76273b9dca2700250cbbe096 (diff)
downloadgtk+-ed5f6d4333bf152072c1e6c7826185f973dba2cd.tar.gz
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
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index ee20acc96b..a008d0c688 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -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