forked from AuroraMiddleware/gtk
a11y: Only care about GtkOrientable::orientation
There are other widgets (like PanelToplevel) that aren't a GtkOrientable but still have that property.
This commit is contained in:
parent
5d57981184
commit
50e3f532b9
@ -465,7 +465,8 @@ gtk_widget_accessible_notify_gtk (GObject *obj,
|
||||
state = ATK_STATE_SENSITIVE;
|
||||
value = gtk_widget_get_sensitive (widget);
|
||||
}
|
||||
else if (g_strcmp0 (pspec->name, "orientation") == 0)
|
||||
else if (g_strcmp0 (pspec->name, "orientation") == 0 &&
|
||||
GTK_IS_ORIENTABLE (widget))
|
||||
{
|
||||
GtkOrientable *orientable;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user