[gtk/4.0-backports: 38/53] listbase: Don't specify the same thing twice




commit 047c8f7ff31ffe8150e9e54dd6b445a1d46bf144
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 ed4f84ad2a..5bc7ecaee3 100644
--- a/gtk/gtklistbase.c
+++ b/gtk/gtklistbase.c
@@ -1148,7 +1148,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]