projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a88ac3
)
animatedstyle: just ref current style if timestamp the same
author
Matt Watson
<mattdangerw@gmail.com>
Tue, 22 Mar 2016 08:04:38 +0000
(
01:04
-0700)
committer
Matt Watson
<mattdangerw@gmail.com>
Fri, 8 Apr 2016 23:09:30 +0000
(16:09 -0700)
gtk/gtkcssanimatedstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssanimatedstyle.c
b/gtk/gtkcssanimatedstyle.c
index 04337e54c29b1555ff250db7cd562138e4d8b119..9847449f0843a8c0832cabbd38d28ac5d06aae58 100644
(file)
--- a/
gtk/gtkcssanimatedstyle.c
+++ b/
gtk/gtkcssanimatedstyle.c
@@
-464,7
+464,7
@@
gtk_css_animated_style_new_advance (GtkCssAnimatedStyle *source,
gtk_internal_return_val_if_fail (GTK_IS_CSS_ANIMATED_STYLE (source), NULL);
gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (base), NULL);
- if (timestamp == 0)
+ if (timestamp == 0
|| timestamp == source->current_time
)
return g_object_ref (source->style);
gtk_internal_return_val_if_fail (timestamp > source->current_time, NULL);