[gtk/pvs-fixes: 3/11] listbase: Don't specify the same thing twice




commit c71c8919fe3359e61e66a5bf7bb21693215296fa
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 4 00:13:53 2021 -0500

    listbase: Don't specify the same thing twice
    
    We only need to set EXPLICIT_NOTIFY once.
    
    Pointed out in https://www.viva64.com/en/b/0793/

 gtk/gtklistbase.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistbase.c b/gtk/gtklistbase.c
index 53bf995c77..41e25858f5 100644
--- a/gtk/gtklistbase.c
+++ b/gtk/gtklistbase.c
@@ -1147,7 +1147,7 @@ gtk_list_base_class_init (GtkListBaseClass *klass)
                        P_("The orientation of the orientable"),
                        GTK_TYPE_ORIENTATION,
                        GTK_ORIENTATION_VERTICAL,
-                       G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_EXPLICIT_NOTIFY);
+                       G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
   g_object_class_install_properties (gobject_class, N_PROPS, properties);
 


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