diff options
Diffstat (limited to 'demos/gtk-demo/fixed.c')
-rw-r--r-- | demos/gtk-demo/fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/fixed.c b/demos/gtk-demo/fixed.c index 745b8c7288..95715c992a 100644 --- a/demos/gtk-demo/fixed.c +++ b/demos/gtk-demo/fixed.c @@ -124,7 +124,7 @@ create_demo_window (GtkWidget *do_widget) { GtkWidget *window, *sw, *fixed, *cube; - 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), "Fixed layout"); gtk_window_set_default_size (GTK_WINDOW (window), 600, 400); |