Skip to content

Commit

Permalink
EomMetadataSidebar: Fix deprecation warning with newer GTK+
Browse files Browse the repository at this point in the history
  • Loading branch information
fxri authored and raveit65 committed Jul 8, 2018
1 parent d7910a6 commit a46238b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eom-metadata-sidebar.c
Expand Up @@ -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);
Expand Down

0 comments on commit a46238b

Please sign in to comment.