Pass orientation property to accessible

We should set the accessible properties we have,
where they make sense. So set orientation, if the
widget is orientable.
This commit is contained in:
Matthias Clasen 2020-10-12 00:19:55 -04:00
parent 54f1eb4c04
commit 35f70d5a99

View File

@ -12143,6 +12143,10 @@ gtk_widget_update_orientation (GtkWidget *widget,
gtk_widget_add_css_class (widget, "vertical");
gtk_widget_remove_css_class (widget, "horizontal");
}
gtk_accessible_update_property (GTK_ACCESSIBLE (widget),
GTK_ACCESSIBLE_PROPERTY_ORIENTATION, orientation,
-1);
}
/**