summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-03 00:43:44 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-02-03 00:43:44 +0000
commitf8529983f9d51b2c85fc36610108ea65372a9a11 (patch)
tree5fe465a4e3f0244bad3ce4a56bc480e113373773
parente9b06b63467a594f917e94da657ceb984eb10e4c (diff)
parent919c08d4fd60eebdb716a56a678b0ae78b4ba7de (diff)
downloadgtk+-f8529983f9d51b2c85fc36610108ea65372a9a11.tar.gz
Merge branch 'matthiasc/for-master' into 'master'
css: Allow transitioning different-size shadows See merge request GNOME/gtk!3145
-rw-r--r--gtk/gtkcssshadowvalue.c3
1 files changed, 0 insertions, 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