Fix setting the mode on a ClutterAlpha created with animation_set_alpha(NULL)
authorNeil Roberts <neil@linux.intel.com>
Mon, 5 Jan 2009 12:52:46 +0000 (12:52 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 5 Jan 2009 12:52:46 +0000 (12:52 +0000)
commit62cfc6487fc2f3ccd4e1cfdd71bd2746ed833b61
tree346598708e3eeb939069c14b3bfe4ce2cac48a77
parent2ed60a5270c7bb03e8046db52b2abdf71e195cce
Fix setting the mode on a ClutterAlpha created with animation_set_alpha(NULL)

It previously attempted to set the mode on the alpha using
clutter_animation_set_mode_internal, but this was setting the mode on
priv->alpha. At that point in the code priv->alpha is always NULL.

clutter_animation_set_mode_internal now takes a parameter to specify
which alpha to modify.
clutter/clutter-animation.c