mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
Merge branch 'matthiasc/for-main' into 'main'
filechooser: Handle pathless files See merge request GNOME/gtk!5613
This commit is contained in:
commit
30586d75ac
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user