diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-12 13:57:20 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-12 13:58:21 -0400 |
commit | 7a2fb58758000bdc353205a6ec06dd0497f34b7a (patch) | |
tree | 71287d27b0706bcbb1fa44590093b632f087e773 | |
parent | 301cf981e30b70d6e829e29b367e019a678ee8af (diff) | |
download | glib-gio-file-info-2.tar.gz |
localfile: Set the file on file infosgio-file-info-2
Associate the original GFile with a GFileInfo
created for it. This will be used in the
GTK filechooser.
-rw-r--r-- | gio/glocalfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/glocalfile.c b/gio/glocalfile.c index a92c7b28b..73bbb11bb 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -1258,7 +1258,8 @@ g_local_file_query_info (GFile *file, 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); |