mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
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:
parent
54f1eb4c04
commit
35f70d5a99
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user