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 d36b28bfb1..1b33f0eeb4 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -92,7 +92,7 @@ new_window (GApplication *app, g_object_set_data ((GObject*)window, "plugman-text", view); - gtk_container_add (GTK_CONTAINER (scrolled), view); + gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolled), view); gtk_grid_attach (GTK_GRID (grid), scrolled, 0, 0, 1, 1); |