projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfbbc8
)
win32 file chooser: add missing g_slist_reverse
author
Nicolai Syvertsen
<saivert@saivert.com>
Mon, 18 Jun 2018 09:44:46 +0000
(09:44 +0000)
committer
Nicolai Syvertsen
<saivert@saivert.com>
Mon, 18 Jun 2018 09:44:46 +0000
(09:44 +0000)
the list is prepended to so we need to reverse the list
before returning
gtk/gtkfilechoosernativewin32.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechoosernativewin32.c
b/gtk/gtkfilechoosernativewin32.c
index c0635d2d0ca6757aa8149f4632987c039522ef0f..c5d29275faca2ed8ef5cd0c6247038beb7000dab 100644
(file)
--- 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),