[gtk/css-animation-change] Update gtkcssanimatedstyle.c



commit 3ad4b8bf9a038a392656eed080dfbf68a7ea73a5
Author: Benjamin Otte <otte benjamin googlemail com>
Date:   Sun Aug 18 16:06:46 2019 +0000

    Update gtkcssanimatedstyle.c

 gtk/gtkcssanimatedstyle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c
index f1abcbe87e..7ce22c4f57 100644
--- a/gtk/gtkcssanimatedstyle.c
+++ b/gtk/gtkcssanimatedstyle.c
@@ -279,7 +279,7 @@ gtk_css_animated_style_create_css_transitions (GSList              *animations,
   if (_gtk_css_array_value_get_n_values (durations) == 1 &&
       _gtk_css_array_value_get_n_values (delays) == 1 &&
       _gtk_css_number_value_get (_gtk_css_array_value_get_nth (durations, 0), 100)
-      + _gtk_css_number_value_get (_gtk_css_array_value_get_nth (delays, transitions[i].index), 100) == 0)
+      + _gtk_css_number_value_get (_gtk_css_array_value_get_nth (delays, 0), 100) == 0)
     return animations;
 
   transition_infos_set (transitions, gtk_css_style_get_value (base_style, 
GTK_CSS_PROPERTY_TRANSITION_PROPERTY));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]