diff options
author | Nicolai Syvertsen <saivert@saivert.com> | 2018-06-18 09:44:46 +0000 |
---|---|---|
committer | Nicolai Syvertsen <saivert@saivert.com> | 2018-06-18 09:44:46 +0000 |
commit | 2d7cfdd7ed8457fc5193b7986c34720673c058f2 (patch) | |
tree | 41b3c96bc5abafbfb00cde3716897dd691603a79 /gtk/gtkfilechoosernativewin32.c | |
parent | fdfbbc8246ebb6e1e256797c66c54b024062e84a (diff) | |
download | gtk+-2d7cfdd7ed8457fc5193b7986c34720673c058f2.tar.gz |
win32 file chooser: add missing g_slist_reverse
the list is prepended to so we need to reverse the list
before returning
Diffstat (limited to 'gtk/gtkfilechoosernativewin32.c')
-rw-r--r-- | gtk/gtkfilechoosernativewin32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechoosernativewin32.c b/gtk/gtkfilechoosernativewin32.c index c0635d2d0c..c5d29275fa 100644 --- a/gtk/gtkfilechoosernativewin32.c +++ b/gtk/gtkfilechoosernativewin32.c @@ -345,7 +345,7 @@ filechooser_win32_thread_done (gpointer _data) if (!data->skip_response) { g_slist_free_full (self->custom_files, g_object_unref); - self->custom_files = data->files; + self->custom_files = g_slist_reverse(data->files); data->files = NULL; _gtk_native_dialog_emit_response (GTK_NATIVE_DIALOG (data->self), |