summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-02-07 20:09:43 +0100
committerraveit65 <[email protected]>2017-02-07 20:09:43 +0100
commit2f953695fc3d46fb1d6aae4654024e406cd08277 (patch)
treeaab1b1cd1ff1078c1c45f8f1a82d6aab6c2d8d2f
parent65ae1ed5026a5d067c08fef1915fc504f71a8f0e (diff)
downloadmarco-2f953695fc3d46fb1d6aae4654024e406cd08277.tar.bz2
marco-2f953695fc3d46fb1d6aae4654024e406cd08277.tar.xz
theme-viewer: don't use deprecated gtk_scrolled_window_add_with_viewport
-rw-r--r--src/ui/theme-viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index 512947b3..27e278f1 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -483,7 +483,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;
@@ -707,7 +707,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;