diff options
author | Eric Le Bihan <eric.le.bihan.dev@free.fr> | 2014-09-25 10:11:38 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-09-25 17:48:43 -0400 |
commit | ed5f6d4333bf152072c1e6c7826185f973dba2cd (patch) | |
tree | 672df1572bcfe2d21584e08760d03e6c72361498 /tests/testgtk.c | |
parent | d17fd81d9b631acf76273b9dca2700250cbbe096 (diff) | |
download | gtk+-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.c | 2 |
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 |