
_clutter_actor_get_animation_info() creates a new info when the actor currently doesn't have one. That's unnecessary and wasteful in case where we only need to check for transitions to remove, so switch to _clutter_actor_get_animation_info_or_default() that falls back to an empty static info. Fixes: c250f602bd ("clutter/actor: Remove transitions when removing an effect") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4260>