From 6fdf6ba68faed2c154893b343cf36fd159e8019f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 30 Dec 2011 12:51:03 +0100 Subject: css: Remove generic 'none' handling Includes updated tests. Who could have thought that our tests were broken. Ooops. --- gtk/gtkstyleproperty.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gtk/gtkstyleproperty.c') 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; -- cgit v1.2.1