[gtk+/portal] Take out a redundant assignment



commit b130d1d96408b40104eece8b8704c776ea45190a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 6 20:15:13 2016 -0400

    Take out a redundant assignment
    
    g_new0 already initializes the field appropriately.

 gtk/gtkfilechoosernative.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechoosernative.c b/gtk/gtkfilechoosernative.c
index 3605b73..266d025 100644
--- a/gtk/gtkfilechoosernative.c
+++ b/gtk/gtkfilechoosernative.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]