stylecontext: Remove GTK_CSS_CHANGE_FORCE_INVALIDATE
This was introduced as a hackish way in 3.6 to make font updates propagate properly. But since then, font handling has been changed and this flag is no longer necessary.
This commit is contained in:
@ -3106,19 +3106,8 @@ _gtk_style_context_validate (GtkStyleContext *context,
|
||||
_gtk_bitmask_free (animation_changes);
|
||||
}
|
||||
|
||||
if (change & GTK_CSS_CHANGE_FORCE_INVALIDATE)
|
||||
{
|
||||
GtkBitmask *full = _gtk_bitmask_new ();
|
||||
full = _gtk_bitmask_invert_range (full,
|
||||
0,
|
||||
_gtk_css_style_property_get_n_properties ());
|
||||
gtk_style_context_do_invalidate (context, full);
|
||||
_gtk_bitmask_free (full);
|
||||
}
|
||||
else if (!_gtk_bitmask_is_empty (changes))
|
||||
{
|
||||
gtk_style_context_do_invalidate (context, changes);
|
||||
}
|
||||
if (!_gtk_bitmask_is_empty (changes))
|
||||
gtk_style_context_do_invalidate (context, changes);
|
||||
|
||||
change = _gtk_css_change_for_child (change);
|
||||
for (list = priv->children; list; list = list->next)
|
||||
|
||||
Reference in New Issue
Block a user