From ce869921ab88b344c9a417852837305d24fa155d Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 1 Feb 2013 17:22:13 +0100 Subject: Don't use gtk_scrolled_window_add_with_viewport() in tests https://bugzilla.gnome.org/show_bug.cgi?id=693015 --- docs/tools/widgets.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/tools') 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); } -- cgit v1.2.1