From 7248c190373ae717b74d24d054a047c8d939efa4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 13 Sep 2012 16:23:36 +0200 Subject: csscomputedvalues: Store animated values here Actually use the GtkCssComputedValues to store the computed values here instead of putting them into the GtkCssAnimatedValues separately. --- gtk/gtkcssanimation.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gtk/gtkcssanimation.c') diff --git a/gtk/gtkcssanimation.c b/gtk/gtkcssanimation.c index c0964de2ba..48ef62bc49 100644 --- a/gtk/gtkcssanimation.c +++ b/gtk/gtkcssanimation.c @@ -125,9 +125,8 @@ gtk_css_animation_set_values (GtkStyleAnimation *style_animation, value = _gtk_css_keyframes_get_value (animation->keyframes, i, progress, - _gtk_css_computed_values_get_value (values, i)); - /* XXX: Is using 0 correct here? */ - _gtk_css_computed_values_set_value (values, property_id, value, 0, NULL); + _gtk_css_computed_values_get_intrinsic_value (values, i)); + _gtk_css_computed_values_set_animated_value (values, property_id, value); _gtk_css_value_unref (value); changed = _gtk_bitmask_set (changed, property_id, TRUE); -- cgit v1.2.1