win32 file chooser: add missing g_slist_reverse

the list is prepended to so we need to reverse the list
before returning
This commit is contained in:
Nicolai Syvertsen 2018-06-18 09:44:46 +00:00
parent fdfbbc8246
commit 2d7cfdd7ed

View File

@ -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),