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.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.c')
-rw-r--r-- | shell/ev-sidebar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c index d8d4424f..44a146f5 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -62,7 +62,7 @@ struct _EvSidebarPrivate { GtkTreeModel *page_model; }; -G_DEFINE_TYPE (EvSidebar, ev_sidebar, GTK_TYPE_VBOX) +G_DEFINE_TYPE (EvSidebar, ev_sidebar, GTK_TYPE_BOX) #define EV_SIDEBAR_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR, EvSidebarPrivate)) @@ -346,6 +346,8 @@ ev_sidebar_init (EvSidebar *ev_sidebar) ev_sidebar->priv = EV_SIDEBAR_GET_PRIVATE (ev_sidebar); + gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_sidebar), GTK_ORIENTATION_VERTICAL); + /* data model */ ev_sidebar->priv->page_model = (GtkTreeModel *) gtk_list_store_new (PAGE_COLUMN_NUM_COLS, |