[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 12:09:32 UTC 2017


LarsGit223 commented on this pull request.



> +		contents = g_key_file_to_data (kf, &length, error);
+		g_key_file_free(kf);
+
+		/* Save to file */
+		success = g_file_set_contents (prj->filename, contents, length, error);
+		if (success)
+		{
+			prj->modified = FALSE;
+		}
+		g_free (contents);
+	}
+	else if (error != NULL)
+	{
+		g_set_error (error, 0, 0,
+					 "Internal error: param missing (file: %s, line %d)",
+					 __FILE__, __LINE__);

Done.

-- 
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/598#discussion_r134090361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/e3a93cf3/attachment.html>


More information about the Github-comments mailing list