summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechoosernative.c
diff options
context:
space:
mode:
authorLuca Bacci <luca.bacci982@gmail.com>2019-07-29 03:58:14 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-29 03:58:14 +0000
commitf4edfbe56f94ab45d6f611ac607da6088e733459 (patch)
tree5abb9e2f421f66691b77141cc1d0267603c3997d /gtk/gtkfilechoosernative.c
parent7dc987fca66220169ad9ee82c1feadd3eb613b56 (diff)
downloadgtk+-f4edfbe56f94ab45d6f611ac607da6088e733459.tar.gz
Implement choices for GtkFileChooserNativeWin32
See Merge Request !990
Diffstat (limited to 'gtk/gtkfilechoosernative.c')
-rw-r--r--gtk/gtkfilechoosernative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechoosernative.c b/gtk/gtkfilechoosernative.c
index b8e90adf57..4e20f21d55 100644
--- a/gtk/gtkfilechoosernative.c
+++ b/gtk/gtkfilechoosernative.c
@@ -376,7 +376,7 @@ gtk_file_chooser_native_add_choice (GtkFileChooser *chooser,
choice->options = g_strdupv ((char **)options);
choice->option_labels = g_strdupv ((char **)option_labels);
- self->choices = g_slist_prepend (self->choices, choice);
+ self->choices = g_slist_append (self->choices, choice);
gtk_file_chooser_add_choice (GTK_FILE_CHOOSER (self->dialog),
id, label, options, option_labels);