projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe1cdde
)
Bug Fix: Float file list layout not preserved in GTK3
author
Colin Clark
<colin.clark@cclark.uk>
Wed, 1 Aug 2018 18:17:46 +0000
(19:17 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Wed, 1 Aug 2018 18:17:46 +0000
(19:17 +0100)
gtk_vpaned_new() is deprecated and replaced by gtk_paned_new().
But the macro GTK_IS_VPANED does not work with gtk_paned_new().
src/layout.c
patch
|
blob
|
history
diff --git
a/src/layout.c
b/src/layout.c
index
f1fc5cc
..
7e44358
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-1366,7
+1366,7
@@
gboolean layout_geometry_get_tools(LayoutWindow *lw, gint *x, gint *y, gint *w,
*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;
}