From e9145950623c9762aafe57badfe7041bc9d9872b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 8 Feb 2013 00:46:26 +0100 Subject: [PATCH] theme-viewer: Stop using deprecated GTK+ functions https://bugzilla.gnome.org/show_bug.cgi?id=693439 --- src/ui/theme-viewer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c index 6cc14c266..8d2808152 100644 --- a/src/ui/theme-viewer.c +++ b/src/ui/theme-viewer.c @@ -485,8 +485,7 @@ preview_collection (int font_size, eventbox = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (eventbox), box); - - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox); + gtk_container_add (GTK_CONTAINER (sw), eventbox); desktop_color.red = 0.32; desktop_color.green = 0.46; @@ -709,8 +708,7 @@ previews_of_button_layouts (void) eventbox = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (eventbox), box); - - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox); + gtk_container_add (GTK_CONTAINER (sw), eventbox); desktop_color.red = 0.32; desktop_color.green = 0.46;