projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b2c1c
)
Bug fix: Layout window id not set
author
Colin Clark
<colin.clark@cclark.uk>
Thu, 23 Mar 2023 16:10:17 +0000
(16:10 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Thu, 23 Mar 2023 16:10:17 +0000
(16:10 +0000)
If there is no geeqierc.xml file, the lw->options.id is not set. This
leads to a glib critical error in some cases.
src/options.cc
patch
|
blob
|
history
diff --git
a/src/options.cc
b/src/options.cc
index
9680030
..
87e9395
100644
(file)
--- a/
src/options.cc
+++ b/
src/options.cc
@@
-301,6
+301,7
@@
LayoutOptions *init_layout_options(LayoutOptions *options)
options->float_window.x = 0;
options->float_window.y = 0;
options->home_path = NULL;
+ options->id = g_strdup("lw1");
options->main_window.h = 540;
options->main_window.hdivider_pos = -1;
options->main_window.maximized = FALSE;