forked from AuroraMiddleware/gtk
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:
parent
fdfbbc8246
commit
2d7cfdd7ed
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user