From 57baa2f0bcd37269f029351736681396739263bd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 28 Jul 2009 13:20:32 +0100 Subject: [PATCH] [animation] Fix variable use Instead of using the proper typed variables we were overwriting the gpointer for the Interval's final value. --- clutter/clutter-animation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-animation.c b/clutter/clutter-animation.c index c26c77c07..c88ddb9cb 100644 --- a/clutter/clutter-animation.c +++ b/clutter/clutter-animation.c @@ -143,8 +143,8 @@ clutter_animation_real_completed (ClutterAnimation *self) ClutterInterval *interval = value; GValue *p_value; - value = clutter_interval_peek_final_value (interval); - g_object_set_property (priv->object, p_name, value); + p_value = clutter_interval_peek_final_value (interval); + g_object_set_property (priv->object, p_name, p_value); } /* at this point, if this animation was created by clutter_actor_animate()