Closed A6GibKm closed 3 years ago
Following the docs https://developer.gnome.org/gio/stable/GFile.html#g-file-new-tmp, the argument can be set as null when one does not care about the specific file name, in https://gtk-rs.org/gtk-rs-core/git/docs/gio/struct.File.html#method.for_path it even says that the function takes None for this purpose but the function does not take a Option<...> parameter.
None
whoops this was for core
Following the docs https://developer.gnome.org/gio/stable/GFile.html#g-file-new-tmp, the argument can be set as null when one does not care about the specific file name, in https://gtk-rs.org/gtk-rs-core/git/docs/gio/struct.File.html#method.for_path it even says that the function takes
None
for this purpose but the function does not take a Option<...> parameter.