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-layers.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-layers.c')
-rw-r--r-- | shell/ev-sidebar-layers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c index 80afd0ef..ce12ba61 100644 --- a/shell/ev-sidebar-layers.c +++ b/shell/ev-sidebar-layers.c @@ -55,7 +55,7 @@ static guint signals[N_SIGNALS] = { 0 }; G_DEFINE_TYPE_EXTENDED (EvSidebarLayers, ev_sidebar_layers, - GTK_TYPE_VBOX, + GTK_TYPE_BOX, 0, G_IMPLEMENT_INTERFACE (EV_TYPE_SIDEBAR_PAGE, ev_sidebar_layers_page_iface_init)) @@ -282,6 +282,7 @@ ev_sidebar_layers_init (EvSidebarLayers *ev_layers) ev_layers->priv = EV_SIDEBAR_LAYERS_GET_PRIVATE (ev_layers); + gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_layers), GTK_ORIENTATION_VERTICAL); swindow = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow), GTK_POLICY_NEVER, |