From a46238b6dea2d12e0d12c33e51a606f82d5f305e Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Fri, 10 May 2013 15:14:18 +0200 Subject: EomMetadataSidebar: Fix deprecation warning with newer GTK+ origin commit: https://gitlab.gnome.org/GNOME/eog/commit/823493f --- src/eom-metadata-sidebar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.1