summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 6126c750a3..9176fc6852 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -4925,8 +4925,10 @@ create_cursors (GtkWidget *widget)
GtkWidget *label;
GtkWidget *any;
GtkAdjustment *adjustment;
+#ifdef GDK_WINDOWING_X11
GtkWidget *entry;
GtkWidget *size;
+#endif
if (!window)
{