animatedstyle: Fix the debug build

This wasn't caught by our ci.
This commit is contained in:
Matthias Clasen 2020-01-29 14:02:30 +01:00
parent aabb250741
commit 5e95e15a03

View File

@ -932,7 +932,7 @@ gtk_css_animated_style_new_advance (GtkCssAnimatedStyle *source,
guint i;
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);
gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (base_style), NULL);
if (timestamp == 0 || timestamp == source->current_time)
return g_object_ref (source->style);