[gtk/matthiasc/for-master] separator: Remove unnecessary code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] separator: Remove unnecessary code
- Date: Wed, 21 Oct 2020 20:36:41 +0000 (UTC)
commit e70e0c2350b6a2cb8ae3a3c8590913a461043fd2
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]