diff options
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/widgets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 03c19eaa69..1e70be074f 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -1024,8 +1024,7 @@ create_scrolledwindow (void) scrolledwin = gtk_scrolled_window_new (NULL, NULL); label = gtk_label_new ("Scrolled Window"); - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolledwin), - label); + gtk_container_add (GTK_CONTAINER (scrolledwin), label); return new_widget_info ("scrolledwindow", scrolledwin, MEDIUM); } |