summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2013-05-10 15:14:18 +0200
committerraveit65 <[email protected]>2018-07-08 12:29:16 +0200
commita46238b6dea2d12e0d12c33e51a606f82d5f305e (patch)
tree25a1f24ec17bbd5821026e41d44e831bce5ee63e /src
parentd7910a620e3fb83796f93acbd80fb10c546eb662 (diff)
downloadeom-a46238b6dea2d12e0d12c33e51a606f82d5f305e.tar.bz2
eom-a46238b6dea2d12e0d12c33e51a606f82d5f305e.tar.xz
EomMetadataSidebar: Fix deprecation warning with newer GTK+
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/823493f
Diffstat (limited to 'src')
-rw-r--r--src/eom-metadata-sidebar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eom-metadata-sidebar.c b/src/eom-metadata-sidebar.c
index 5f36e42..77c91b7 100644
--- a/src/eom-metadata-sidebar.c
+++ b/src/eom-metadata-sidebar.c
@@ -583,8 +583,7 @@ eom_metadata_sidebar_constructed (GObject *object)
/* This can only happen after all construct properties for
* GtkScrolledWindow are set/handled. */
- gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (object),
- priv->grid);
+ gtk_container_add (GTK_CONTAINER (object), priv->grid);
gtk_widget_show (GTK_WIDGET (object));
G_OBJECT_CLASS (eom_metadata_sidebar_parent_class)->constructed (object);