Skip to content
Permalink
Browse files

caja-spatial-window.c: avoid deprecated 'gtk_vbox_new'

  • Loading branch information...
sc0w authored and lukefromdc committed May 2, 2018
1 parent 99cf0ca commit c490029ce1aff8bdca223a13276298562cf5c576
Showing with 2 additions and 4 deletions.
  1. +2 −4 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),

0 comments on commit c490029

Please sign in to comment.
You can’t perform that action at this time.