commit | 7a2fb58758000bdc353205a6ec06dd0497f34b7a | [log] [tgz] |
---|---|---|
author | Matthias Clasen <mclasen@redhat.com> | Sun Jul 12 13:57:20 2020 -0400 |
committer | Matthias Clasen <mclasen@redhat.com> | Sun Jul 12 13:58:21 2020 -0400 |
tree | 71287d27b0706bcbb1fa44590093b632f087e773 | |
parent | 301cf981e30b70d6e829e29b367e019a678ee8af [diff] |
localfile: Set the file on file infos Associate the original GFile with a GFileInfo created for it. This will be used in the GTK filechooser.
diff --git a/gio/glocalfile.c b/gio/glocalfile.c index a92c7b2..73bbb11 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c
@@ -1258,7 +1258,8 @@ info = _g_local_file_info_get (basename, local->filename, matcher, flags, &parent_info, error); - + + g_file_info_set_file (info, file); _g_local_file_info_free_parent_info (&parent_info); g_free (basename);