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-attachments.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/ev-sidebar-attachments.c') diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c index 2b03e225..84e6cb38 100644 --- a/shell/ev-sidebar-attachments.c +++ b/shell/ev-sidebar-attachments.c @@ -71,7 +71,7 @@ static void ev_sidebar_attachments_page_iface_init (EvSidebarPageInterface *ifac G_DEFINE_TYPE_EXTENDED (EvSidebarAttachments, ev_sidebar_attachments, - GTK_TYPE_VBOX, + GTK_TYPE_BOX, 0, G_IMPLEMENT_INTERFACE (EV_TYPE_SIDEBAR_PAGE, ev_sidebar_attachments_page_iface_init)) @@ -536,6 +536,7 @@ ev_sidebar_attachments_init (EvSidebarAttachments *ev_attachbar) ev_attachbar->priv = EV_SIDEBAR_ATTACHMENTS_GET_PRIVATE (ev_attachbar); + gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_attachbar), GTK_ORIENTATION_VERTICAL); swindow = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow), GTK_POLICY_NEVER, -- cgit v1.2.1