summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2013-02-08 00:46:26 +0100
committerFlorian Müllner <fmuellner@gnome.org>2013-02-08 19:08:55 +0100
commite9145950623c9762aafe57badfe7041bc9d9872b (patch)
tree7b3a0fe7d04b77ee3141e38b0321b9b5158a85ff
parenta2a31883319b941dc7268f32372db50b0cdb11fa (diff)
downloadmutter-e9145950623c9762aafe57badfe7041bc9d9872b.tar.gz
theme-viewer: Stop using deprecated GTK+ functions
https://bugzilla.gnome.org/show_bug.cgi?id=693439
-rw-r--r--src/ui/theme-viewer.c6
1 files 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;