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

Reply via email to