summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);