From 8512423f22995dced954b9b5c5e6481af83ba5a0 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Fri, 18 Jun 2010 11:12:51 +0100 Subject: [PATCH] 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 --- clutter/clutter-animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-animation.c b/clutter/clutter-animation.c index 41b02de75..270d13f7e 100644 --- a/clutter/clutter-animation.c +++ b/clutter/clutter-animation.c @@ -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::")) {