forked from AuroraMiddleware/gtk
stylecontext: Make sure we always clear the cache when the CSS changes
After b49c7c3421
we were no longer doing a
full revalidate after GTK_CSS_CHANGE_SOURCE changes.
This fixes spurious failures of widgets not properly updating when
changing the theme.
This commit is contained in:
parent
0dfbcd60c9
commit
1cb3734924
@ -736,6 +736,8 @@ style_values_lookup (GtkStyleContext *context)
|
||||
else
|
||||
{
|
||||
build_properties (context, values, info->decl, NULL, &priv->relevant_changes);
|
||||
/* These flags are always relevant */
|
||||
priv->relevant_changes |= GTK_CSS_CHANGE_SOURCE;
|
||||
}
|
||||
|
||||
g_object_unref (values);
|
||||
|
Loading…
Reference in New Issue
Block a user