[geany/geany-plugins] 7cdbe8: Merge pull request #716 from LarsGit223/wb-dbgmsg2

Frank Lanitz git-noreply at xxxxx
Sat Mar 3 18:15:16 UTC 2018


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sat, 03 Mar 2018 18:15:16 UTC
Commit:      7cdbe8e503fa32a70d410d9717b02137ede52e30
             https://github.com/geany/geany-plugins/commit/7cdbe8e503fa32a70d410d9717b02137ede52e30

Log Message:
-----------
Merge pull request #716 from LarsGit223/wb-dbgmsg2

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


Modified Paths:
--------------
    workbench/src/wb_project.c

Modified: workbench/src/wb_project.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1355,7 +1355,7 @@ gboolean wb_project_load(WB_PROJECT *prj, gchar *filename, GError **error)
 		gchar **bookmarks_strings;
 
 		/* Load project bookmarks from string list */
-		bookmarks_strings = g_key_file_get_string_list (kf, "Workbench", "Bookmarks", NULL, error);
+		bookmarks_strings = g_key_file_get_string_list (kf, "Workbench", "Bookmarks", NULL, NULL);
 		if (bookmarks_strings != NULL)
 		{
 			gchar **file, *abs_path;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list