forked from AuroraMiddleware/gtk
styleproperties: Add a warning
GtkStyleProperties stores computed values. Make sure it does.
This commit is contained in:
parent
032e8f9f9b
commit
bd8fefb20e
@ -439,6 +439,8 @@ _gtk_style_properties_set_property_by_property (GtkStyleProperties *props,
|
||||
PropertyData *prop;
|
||||
GValue *val;
|
||||
|
||||
g_return_if_fail (G_VALUE_TYPE (value) == _gtk_css_style_property_get_computed_type (style_prop));
|
||||
|
||||
priv = props->priv;
|
||||
prop = g_hash_table_lookup (priv->properties, style_prop);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user