summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/infobar.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/infobar.c')
-rw-r--r--demos/gtk-demo/infobar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/infobar.c b/demos/gtk-demo/infobar.c
index e70e162334..89beca6584 100644
--- a/demos/gtk-demo/infobar.c
+++ b/demos/gtk-demo/infobar.c
@@ -53,7 +53,7 @@ do_infobar (GtkWidget *do_widget)
{
actions = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- 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), "Info Bars");