summaryrefslogtreecommitdiff
path: root/src/caja-side-pane.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-19 01:29:48 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-19 01:29:48 +0100
commit54820f4200c190318ed1213d12ce585b9b422619 (patch)
tree107bd89607c818652cac8df3cb1c81deaac95891 /src/caja-side-pane.c
parent1ff346876afd37a957aa490be25bdd2fd90e4773 (diff)
downloadcaja-54820f4200c190318ed1213d12ce585b9b422619.tar.bz2
caja-54820f4200c190318ed1213d12ce585b9b422619.tar.xz
GTK: some missing GTK_TYPE_{H/V}BOX adjustments
this completes https://github.com/mate-desktop/caja/commit/cf39567
Diffstat (limited to 'src/caja-side-pane.c')
-rw-r--r--src/caja-side-pane.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c
index 3ccb289c..c1a6a959 100644
--- a/src/caja-side-pane.c
+++ b/src/caja-side-pane.c
@@ -72,7 +72,11 @@ enum
static guint signals[LAST_SIGNAL] = { 0 };
+#if GTK_CHECK_VERSION (3, 0, 0)
+EEL_CLASS_BOILERPLATE (CajaSidePane, caja_side_pane, GTK_TYPE_BOX)
+#else
EEL_CLASS_BOILERPLATE (CajaSidePane, caja_side_pane, GTK_TYPE_VBOX)
+#endif
static SidePanel *
panel_for_widget (CajaSidePane *side_pane, GtkWidget *widget)
@@ -320,6 +324,9 @@ caja_side_pane_init (GObject *object)
gtk_container_set_border_width (GTK_CONTAINER (hbox), 4);
side_pane->details->title_hbox = hbox;
gtk_widget_show (hbox);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (object), GTK_ORIENTATION_VERTICAL);
+#endif
gtk_box_pack_start (GTK_BOX (side_pane), hbox, FALSE, FALSE, 0);
select_button = gtk_toggle_button_new ();