summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/sidebar.c')
-rw-r--r--demos/gtk-demo/sidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/sidebar.c b/demos/gtk-demo/sidebar.c
index 4de18c4c91..3b092eac92 100644
--- a/demos/gtk-demo/sidebar.c
+++ b/demos/gtk-demo/sidebar.c
@@ -35,7 +35,7 @@ do_sidebar (GtkWidget *do_widget)
if (!window)
{
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
gtk_widget_set_size_request (window, 500, 350);