The key "Bookmarks" can be missing and that is not an error. So pass "NULL" for parameter "error" on calling ```g_key_file_get_string_list()```. This prevents multiple error messages from being written to one ```GErrror``` and so causing a GLib warning in the debug messages. Fixes #714. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/716
-- Commit Summary --
* workbench: pass error=NULL to "g_key_file_get_string_list()" for key "Bookmarks"
-- File Changes --
M workbench/src/wb_project.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/716.patch https://github.com/geany/geany-plugins/pull/716.diff
You don't have to create an issue for each PR if you don't want to. It's nice to let people know you're working on something or to discuss, but for small stuff like this which is uncontroversial and/or you have already fixed, you could just submit the PR by itself. Either way is fine.
I know, thanks. But I rate this and the other little PR as a bug. And I really like to have it as a labeled issue so I can find things easier in the future.
Merged #716.
@frlan: could you please label this with ```workbench``` and ```bug```?
github-comments@lists.geany.org