forked from AuroraMiddleware/gtk
cssprovider: Don't hardcode strings anymore
This commit is contained in:
parent
cec2875d36
commit
e1dda3d03f
@ -2539,11 +2539,6 @@ parse_rule (GtkCssProvider *css_provider,
|
|||||||
resolve_binding_sets (value_str, val);
|
resolve_binding_sets (value_str, val);
|
||||||
g_hash_table_insert (priv->cur_properties, prop, val);
|
g_hash_table_insert (priv->cur_properties, prop, val);
|
||||||
}
|
}
|
||||||
else if (pspec->value_type == G_TYPE_STRING)
|
|
||||||
{
|
|
||||||
g_value_set_string (val, value_str);
|
|
||||||
g_hash_table_insert (priv->cur_properties, prop, val);
|
|
||||||
}
|
|
||||||
else if (parse_func)
|
else if (parse_func)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user