summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-05-03 01:35:15 +0200
committerlukefromdc <[email protected]>2018-05-03 15:31:47 -0400
commitc490029ce1aff8bdca223a13276298562cf5c576 (patch)
tree319215cb338fbaf780294f70ffd5456d7bccf8d3
parent99cf0cad9fc6ceb0f86066e85af242d2f46c3b88 (diff)
downloadcaja-c490029ce1aff8bdca223a13276298562cf5c576.tar.bz2
caja-c490029ce1aff8bdca223a13276298562cf5c576.tar.xz
caja-spatial-window.c: avoid deprecated 'gtk_vbox_new'
-rw-r--r--src/caja-spatial-window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c
index e5e431e7..f0f32914 100644
--- a/src/caja-spatial-window.c
+++ b/src/caja-spatial-window.c
@@ -1002,10 +1002,8 @@ caja_spatial_window_init (CajaSpatialWindow *window)
pane = caja_window_pane_new (win);
win->details->panes = g_list_prepend (win->details->panes, pane);
- /* FIXME: changing this to gtk_box_new breaks desktop :-/
- * see https://github.com/mate-desktop/caja/issues/591
- */
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ gtk_box_set_homogeneous (GTK_BOX (vbox), TRUE);
gtk_widget_set_hexpand (vbox, TRUE);
gtk_widget_set_vexpand (vbox, TRUE);
gtk_grid_attach (GTK_GRID (CAJA_WINDOW (window)->details->grid),