summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/flowbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/flowbox.c')
-rw-r--r--demos/gtk-demo/flowbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/flowbox.c b/demos/gtk-demo/flowbox.c
index 6d599a2c13..09acaf42f9 100644
--- a/demos/gtk-demo/flowbox.c
+++ b/demos/gtk-demo/flowbox.c
@@ -719,7 +719,7 @@ do_flowbox (GtkWidget *do_widget)
if (!window)
{
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Flow Box");