From 919c08d4fd60eebdb716a56a678b0ae78b4ba7de Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 2 Feb 2021 15:22:32 -0500 Subject: [PATCH] css: Allow transitioning different-size shadows The code handles it just fine. The length check was an erronous addition. --- gtk/gtkcssshadowvalue.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c index 19314662e3..9ad69b9182 100644 --- a/gtk/gtkcssshadowvalue.c +++ b/gtk/gtkcssshadowvalue.c @@ -172,9 +172,6 @@ gtk_css_value_shadow_transition (GtkCssValue *start, guint i, len; ShadowValue *shadows; - if (start->n_shadows != end->n_shadows) - return NULL; - if (start->n_shadows > end->n_shadows) len = start->n_shadows; else