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

LarsGit223 notifications at xxxxx
Sun Aug 20 11:23:55 UTC 2017


LarsGit223 commented on this pull request.



> +			check = g_key_file_get_string (kf, "General", "filetype", error);
+			if (check == NULL || g_strcmp0(check, "workbench") != 0)
+			{
+				valid = FALSE;
+			}
+			g_free(check);
+		}
+		else
+		{
+			valid = FALSE;
+		}
+
+		if (!valid)
+		{
+			g_set_error (error, 0, 0,
+						 "File: %s is not a valid workbench file!",

Yes, 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_r134112962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170820/01a8f20a/attachment.html>


More information about the Github-comments mailing list