summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-10 16:55:05 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-10 16:55:05 +0200
commit555cf516fdfd30c496329b972ff6f3f1060a49bd (patch)
tree1dca54569fd0fb06f282c1210dd1abf6dafbfc3c
parent3610ef90c3b4e555dcb6e767d4f2a79649a359f5 (diff)
downloadgtk+-555cf516fdfd30c496329b972ff6f3f1060a49bd.tar.gz
styleproperty: 3rd hotfix for a 3-line patch
I really should not write code sometimes... Copy/paste error this time.
-rw-r--r--gtk/gtkcssstyleproperty.c2
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)