diff options
author | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
commit | d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (patch) | |
tree | c2018fecf565e4fb5289f59a4ef1cd6494cab372 /shell/ev-sidebar-thumbnails.c | |
parent | 2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff) | |
download | atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2 atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz |
Do not use deprecated GTK_TYPE_VBOX definitions
Diffstat (limited to 'shell/ev-sidebar-thumbnails.c')
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); |