forked from AuroraMiddleware/gtk
cssprovider: Remove has_inherit flag from rulesets
It's not used anymore
This commit is contained in:
parent
40a7618d2a
commit
a3225fdd42
@ -963,8 +963,6 @@ struct GtkCssRuleset
|
||||
GHashTable *widget_style;
|
||||
GHashTable *style;
|
||||
GtkBitmask *set_styles;
|
||||
|
||||
guint has_inherit :1;
|
||||
};
|
||||
|
||||
struct _GtkCssScanner
|
||||
@ -1214,7 +1212,6 @@ gtk_css_ruleset_add (GtkCssRuleset *ruleset,
|
||||
}
|
||||
|
||||
_gtk_bitmask_set (ruleset->set_styles, _gtk_style_property_get_id (prop), TRUE);
|
||||
ruleset->has_inherit |= _gtk_style_property_is_inherit (prop);
|
||||
g_hash_table_insert (ruleset->style, (gpointer) prop, value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user