Take out a redundant assignment

g_new0 already initializes the field appropriately.
This commit is contained in:
Matthias Clasen
2016-07-06 20:15:13 -04:00
parent 1512f6984b
commit b130d1d964

View File

@@ -355,7 +355,6 @@ gtk_file_chooser_native_add_choice (GtkFileChooser *chooser,
choice->label = g_strdup (label);
choice->options = g_strdupv ((char **)options);
choice->option_labels = g_strdupv ((char **)option_labels);
choice->selected = NULL;
self->choices = g_slist_append (self->choices, choice);