[gtk+] Fix testgtk.c when building for Wayland.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix testgtk.c when building for Wayland.
- Date: Thu, 25 Sep 2014 21:48:52 +0000 (UTC)
commit ed5f6d4333bf152072c1e6c7826185f973dba2cd
Author: Eric Le Bihan <eric le bihan dev free fr>
Date: Thu Sep 25 10:11:38 2014 +0200
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
tests/testgtk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index ee20acc..a008d0c 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]