GtkStyleSet: Remove default value for registered properties.

This should be handled at a higher level, a single default value for all
states isn't that useful...
This commit is contained in:
Carlos Garnacho
2010-06-13 17:10:05 +02:00
parent 80e01becbe
commit 6906138e45
3 changed files with 30 additions and 160 deletions

View File

@ -983,7 +983,7 @@ parse_rule (GtkCssProvider *css_provider,
value_str = g_strstrip (scanner->value.v_identifier);
if (gtk_style_set_lookup_property (prop, &prop_type, NULL) &&
if (gtk_style_set_lookup_property (prop, &prop_type) &&
parse_value (prop_type, value_str, &value))
{
GValue *val;