separator: Remove unnecessary code

gtk_widget_update_orientation already sets the
accessible property, no need to do it again.
This commit is contained in:
Matthias Clasen 2020-10-21 16:35:05 -04:00
parent d3089ebbc2
commit b9ae54c951

View File

@ -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