[gtk/checkbutton-fixes: 5/5] checkbutton: Don't notify write-only properties




commit 746bdd3d4778629b161d45f869659d2c77e839f1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 1 16:31:07 2020 -0400

    checkbutton: Don't notify write-only properties
    
    Nobody is listening...

 gtk/gtkcheckbutton.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index ab7a862779..cd23ab3a05 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -834,7 +834,6 @@ gtk_check_button_set_group (GtkCheckButton *self,
 
       priv->group_next = NULL;
       priv->group_prev = NULL;
-      g_object_notify_by_pspec (G_OBJECT (self), props[PROP_GROUP]);
 
       if (priv->indicator_widget)
         gtk_css_node_set_name (gtk_widget_get_css_node (priv->indicator_widget),


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