animatedstyle: Fix the debug build
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Jan 2020 13:02:30 +0000 (14:02 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Jan 2020 13:10:24 +0000 (14:10 +0100)
This wasn't caught by our ci.

gtk/gtkcssanimatedstyle.c

index 0012a93422c5577a5e3e59b3086de2cdfaac5dbc..2070e7f7a6ae060cc541b8cc182a7e1fdbe12619 100644 (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);