[Github-comments] [geany/geany] Create project's filename path (#2586)

elextr notifications at xxxxx
Wed Sep 16 01:07:23 UTC 2020


@elextr commented on this pull request.



> +		else
+		{
+			gtk_widget_grab_focus(e->file_name);
+			utils_free_pointers(2, project_file_dirname, locale_filename, NULL);
+			return FALSE;
+		}

The `utils_mkdir()` uses `g_mkdir_with_parents()` which succeeds if the directory already exists, so thats why basename behaves as it does, and should be fine to let filename work the same.

-- 
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/pull/2586#discussion_r489101682
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200915/4e065df8/attachment.htm>


More information about the Github-comments mailing list