Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workbench: pass error=NULL to "g_key_file_get_string_list()" for key "Bookmarks" #716

Merged
merged 1 commit into from Mar 3, 2018

Conversation

lpaulsen93
Copy link
Contributor

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.

…"Bookmarks"

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 geany#714.
@codebrainz
Copy link
Member

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.

@lpaulsen93
Copy link
Contributor Author

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.

@frlan frlan merged commit 7cdbe8e into geany:master Mar 3, 2018
@lpaulsen93
Copy link
Contributor Author

@frlan: could you please label this with workbench and bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants