# HG changeset patch # User Colin Clark # Date 1533147466 -3600 # Node ID bcd52f7517c7a99bed13295feef53d0cf698a900 # Parent 1f05682f97c7558dd2e933a1c9ef90e12ea5ad1e Bug Fix: Float file list layout not preserved in GTK3 gtk_vpaned_new() is deprecated and replaced by gtk_paned_new(). But the macro GTK_IS_VPANED does not work with gtk_paned_new(). diff -r 1f05682f97c7 -r bcd52f7517c7 src/layout.c --- a/src/layout.c Wed Aug 01 10:37:17 2018 +0100 +++ b/src/layout.c Wed Aug 01 19:17:46 2018 +0100 @@ -1366,7 +1366,7 @@ *h = gdk_window_get_height(window); gtk_widget_get_allocation(gtk_paned_get_child1(GTK_PANED(lw->tools_pane)), &allocation); - if (GTK_IS_VPANED(lw->tools_pane)) + if (gtk_orientable_get_orientation(GTK_ORIENTABLE(lw->tools_pane)) == GTK_ORIENTATION_VERTICAL) { *divider_pos = allocation.height; }