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