[Github-comments] [geany/geany-plugins] Workbench (#598)
LarsGit223
notifications at xxxxx
Sat Aug 19 09:42:26 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/236ce213/attachment.html>
More information about the Github-comments
mailing list