diff options
-rw-r--r-- | gtk/gtkcssstyleproperty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c index c9d4e56450..8839cd68fb 100644 --- a/gtk/gtkcssstyleproperty.c +++ b/gtk/gtkcssstyleproperty.c @@ -466,7 +466,7 @@ _gtk_css_style_property_is_specified_type (GtkCssStyleProperty *property, /* XXX: Someone needs to fix that legacy */ if ((_gtk_css_value_holds (property->initial_value, GDK_TYPE_RGBA) || _gtk_css_value_holds (property->initial_value, GDK_TYPE_COLOR)) && - type == GTK_TYPE_GRADIENT) + type == GTK_TYPE_SYMBOLIC_COLOR) return TRUE; if (_gtk_css_value_holds (property->initial_value, CAIRO_GOBJECT_TYPE_PATTERN) && type == GTK_TYPE_GRADIENT) |