1
0
Fork 0

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:
Bilal Elmoussaoui 2024-08-02 18:55:15 +02:00 committed by Marge Bot
parent 471d8d913e
commit f5c2b6949d

View file

@ -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;
}
/**