summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/gestures.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/gestures.c')
-rw-r--r--demos/gtk-demo/gestures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/gestures.c b/demos/gtk-demo/gestures.c
index 4079ed950f..d50eb34b99 100644
--- a/demos/gtk-demo/gestures.c
+++ b/demos/gtk-demo/gestures.c
@@ -146,7 +146,7 @@ do_gestures (GtkWidget *do_widget)
if (!window)
{
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
gtk_window_set_default_size (GTK_WINDOW (window), 400, 400);
gtk_window_set_title (GTK_WINDOW (window), "Gestures");
g_signal_connect (window, "destroy",