ref

⚠️ Deprecated ⚠️

This is deprecated since version 2.0.

Use g_object_ref().

---

Adds a reference to an animation.

Return

The same as the @animation argument.