[gtk/matthiasc/for-master: 1/7] separator: Remove unnecessary code




commit b9ae54c95113b7ebfb01ae26bfe83e9301cb7a22
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 21 16:35:05 2020 -0400

    separator: Remove unnecessary code
    
    gtk_widget_update_orientation already sets the
    accessible property, no need to do it again.

 gtk/gtkseparator.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index c6b391fe8f..fe9ac58437 100644
--- a/gtk/gtkseparator.c
+++ b/gtk/gtkseparator.c
@@ -139,9 +139,6 @@ gtk_separator_init (GtkSeparator *separator)
 
   gtk_widget_update_orientation (GTK_WIDGET (separator),
                                  separator->orientation);
-  gtk_accessible_update_property (GTK_ACCESSIBLE (separator),
-                                  GTK_ACCESSIBLE_PROPERTY_ORIENTATION, separator->orientation,
-                                  -1);
 }
 
 static void


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