[gtk+] styleproperty: 3rd hotfix for a 3-line patch
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperty: 3rd hotfix for a 3-line patch
- Date: Tue, 10 Apr 2012 14:56:08 +0000 (UTC)
commit 555cf516fdfd30c496329b972ff6f3f1060a49bd
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 10 16:55:05 2012 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c
index c9d4e56..8839cd6 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]