summaryrefslogtreecommitdiff
path: root/gtk/gtkcssanimatedstyle.c
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2016-03-06 22:45:27 -0800
committerMatt Watson <mattdangerw@gmail.com>2016-04-08 16:09:30 -0700
commit50e057e02541151a9de828dc7567042c00f499d1 (patch)
tree7f46547c3bd3b294aed0669ad09e6c15f15a9128 /gtk/gtkcssanimatedstyle.c
parent511f1383281c3bdf45472fc53f806aebad83ea5d (diff)
downloadgtk+-50e057e02541151a9de828dc7567042c00f499d1.tar.gz
csstransition: port to progress tracker
Diffstat (limited to 'gtk/gtkcssanimatedstyle.c')
-rw-r--r--gtk/gtkcssanimatedstyle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c
index 2c92fa7463..e3a22604cc 100644
--- a/gtk/gtkcssanimatedstyle.c
+++ b/gtk/gtkcssanimatedstyle.c
@@ -301,8 +301,9 @@ gtk_css_animated_style_create_css_transitions (GSList *animations,
animation = _gtk_css_transition_new (i,
gtk_css_style_get_value (source, i),
_gtk_css_array_value_get_nth (timing_functions, i),
- timestamp + delay * G_USEC_PER_SEC,
- timestamp + (delay + duration) * G_USEC_PER_SEC);
+ timestamp,
+ duration * G_USEC_PER_SEC,
+ delay * G_USEC_PER_SEC);
animations = g_slist_prepend (animations, animation);
}