clutter/actor: Better fallback for has_accessible
Check if the accessible field is set instead of always returning True Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3917>
This commit is contained in:
parent
471d8d913e
commit
f5c2b6949d
1 changed files with 1 additions and 1 deletions
|
@ -18431,7 +18431,7 @@ clutter_actor_has_accessible (ClutterActor *actor)
|
|||
if (CLUTTER_ACTOR_GET_CLASS (actor)->has_accessible)
|
||||
return CLUTTER_ACTOR_GET_CLASS (actor)->has_accessible (actor);
|
||||
|
||||
return TRUE;
|
||||
return actor->priv->accessible != NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue