1
0
Fork 0

clutter-animation: Fix for using fixed:: from clutter_actor_animatev

When using clutter_actor_animatev it would set a boolean whenever a
property begins with "fixed::". However it would never clear the
variable so it would end up marking all subsequent properties as
fixed.

http://bugzilla.openedhand.com/show_bug.cgi?id=2180

http://bugzilla.clutter-project.org/show_bug.cgi?id=2149
This commit is contained in:
Neil Roberts 2010-06-18 11:12:51 +01:00 committed by Emmanuele Bassi
parent 66d9d48135
commit 8512423f22

View file

@ -1792,7 +1792,6 @@ clutter_animation_setupv (ClutterAnimation *animation,
ClutterAnimationPrivate *priv = animation->priv;
ClutterAnimatable *animatable = NULL;
GObjectClass *klass = NULL;
gboolean is_fixed = FALSE;
gint i;
if (CLUTTER_IS_ANIMATABLE (priv->object))
@ -1804,6 +1803,7 @@ clutter_animation_setupv (ClutterAnimation *animation,
{
const gchar *property_name = properties[i];
GParamSpec *pspec;
gboolean is_fixed = FALSE;
if (g_str_has_prefix (property_name, "fixed::"))
{