LarsGit223 commented on this pull request.


> +
+/** Set the filename of a project.
+ *
+ * @param prj      The project
+ * @param filename The filename
+ *
+ **/
+void wb_project_set_filename(WB_PROJECT *prj, gchar *filename)
+{
+       if (prj != NULL)
+       {
+               guint offset;
+               gchar *ext;
+
+               prj->filename = g_strdup(filename);
+               prj->name = g_path_get_basename (filename);

Well, today the function is only called once. But I changed it to be on the 
safe side in case of future changes.

-- 
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_r134087853

Reply via email to