diff options
Diffstat (limited to 'examples/plugman.c')
-rw-r--r-- | examples/plugman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugman.c b/examples/plugman.c index 1b33f0eeb4..752e2b9649 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -83,7 +83,7 @@ new_window (GApplication *app, gtk_window_set_title (GTK_WINDOW (window), "Plugman"); grid = gtk_grid_new (); - gtk_container_add (GTK_CONTAINER (window), grid); + gtk_window_set_child (GTK_WINDOW (window), grid); scrolled = gtk_scrolled_window_new (NULL, NULL); gtk_widget_set_hexpand (scrolled, TRUE); |