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.