From d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Jun 2016 16:13:54 +0200 Subject: Do not use deprecated GTK_TYPE_VBOX definitions --- shell/ev-sidebar-thumbnails.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/ev-sidebar-thumbnails.c') diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index df02bb5c..8f7f6517 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -101,7 +101,7 @@ static void adjustment_changed_cb (EvSidebarThumbnails G_DEFINE_TYPE_EXTENDED (EvSidebarThumbnails, ev_sidebar_thumbnails, - GTK_TYPE_VBOX, + GTK_TYPE_BOX, 0, G_IMPLEMENT_INTERFACE (EV_TYPE_SIDEBAR_PAGE, ev_sidebar_thumbnails_page_iface_init)) @@ -657,6 +657,8 @@ ev_sidebar_init_tree_view (EvSidebarThumbnails *ev_sidebar_thumbnails) GtkTreeSelection *selection; GtkCellRenderer *renderer; + gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_sidebar_thumbnails), GTK_ORIENTATION_VERTICAL); + priv = ev_sidebar_thumbnails->priv; priv->tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (priv->list_store)); -- cgit v1.2.1