[Github-comments] [geany/geany-plugins] workbench: pass error=NULL to "g_key_file_get_string_list()" for key "Bookmarks" (#716)
LarsGit223
notifications at xxxxx
Thu Mar 1 21:06:58 UTC 2018
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 are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/716
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180301/ce99abec/attachment.html>
More information about the Github-comments
mailing list