From 555cf516fdfd30c496329b972ff6f3f1060a49bd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 10 Apr 2012 16:55:05 +0200 Subject: [PATCH] styleproperty: 3rd hotfix for a 3-line patch I really should not write code sometimes... Copy/paste error this time. --- gtk/gtkcssstyleproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c index c9d4e5645..8839cd68f 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) -- 2.43.2