diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-30 12:51:03 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:51 +0100 |
commit | 6fdf6ba68faed2c154893b343cf36fd159e8019f (patch) | |
tree | d38e0833aa19ddc428da27f2315abfe5a5da34c8 /gtk/gtkstyleproperty.c | |
parent | 7d353fbccfc080c037214ba254f6414cc363fd41 (diff) | |
download | gtk+-6fdf6ba68faed2c154893b343cf36fd159e8019f.tar.gz |
css: Remove generic 'none' handling
Includes updated tests.
Who could have thought that our tests were broken. Ooops.
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r-- | gtk/gtkstyleproperty.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c index 464875b7cd..d139b9da85 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -2366,14 +2366,6 @@ _gtk_style_property_parse_value (const GtkStyleProperty *property, g_value_set_enum (value, GTK_CSS_INHERIT); return TRUE; } - else if (_gtk_css_parser_try (parser, "none", TRUE)) - { - /* Insert the default value, so it has an opportunity - * to override other style providers when merged - */ - g_param_value_set_default (property->pspec, value); - return TRUE; - } else if (property->property_parse_func) { GError *error = NULL; |