Merge branch 'matthiasc/for-main' into 'main'

filechooser: Handle pathless files

See merge request GNOME/gtk!5613
This commit is contained in:
Matthias Clasen 2023-03-08 02:31:19 +00:00
commit 30586d75ac

View File

@ -2061,6 +2061,9 @@ file_chooser_get_location (GtkFileChooserWidget *impl,
else
location = g_file_get_path (dir_location);
if (!location)
location = g_strdup ("");
g_clear_object (&dir_location);
g_clear_object (&home_location);