forked from AuroraMiddleware/gtk
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:
parent
d17fd81d9b
commit
ed5f6d4333
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user