Adds a reference to an animation.
The same as the @animation argument.
Deprecated: Use g_object_ref().
See Implementation
Adds a reference to an animation.