diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-27 17:25:41 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:13 +0200 |
commit | c8e57d63ecbf099f54949cc5e3151d04c1115d75 (patch) | |
tree | d48ba454695f9470e8a93c52920c03d345c5f0d1 /gtk/gtkstyleproperties.c | |
parent | 75a5f043526dc3023c2501b6c3e818a6e387c502 (diff) | |
download | gtk+-c8e57d63ecbf099f54949cc5e3151d04c1115d75.tar.gz |
cssstyelproperty: Rempove specified-type and computed-type props
This removes the necessity to keep a GType associated with style
properties and code can now make use of GtkCssValue completely.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r-- | gtk/gtkstyleproperties.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index 52187efda2..61f358c465 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -441,8 +441,6 @@ _gtk_style_properties_set_property_by_property (GtkStyleProperties *props, PropertyData *prop; ValueData *val; - g_return_if_fail (_gtk_css_value_holds (value, _gtk_css_style_property_get_computed_type (style_prop))); - priv = props->priv; prop = g_hash_table_lookup (priv->properties, style_prop); |