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