diff options
author | Benjamin Otte <otte@redhat.com> | 2012-09-13 16:23:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-09-17 20:39:12 +0200 |
commit | 7248c190373ae717b74d24d054a047c8d939efa4 (patch) | |
tree | 76f4be9ab6120b29bb9203c8f4441e2cedda774b /gtk/gtkcssanimation.c | |
parent | 94a3bd21e5c21f32420f9deb2eb794fde8b66564 (diff) | |
download | gtk+-7248c190373ae717b74d24d054a047c8d939efa4.tar.gz |
csscomputedvalues: Store animated values here
Actually use the GtkCssComputedValues to store the computed values here
instead of putting them into the GtkCssAnimatedValues separately.
Diffstat (limited to 'gtk/gtkcssanimation.c')
-rw-r--r-- | gtk/gtkcssanimation.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |