forked from AuroraMiddleware/gtk
stylecontext: Store the right style in the cache
Store the newly computed style, not the old and wrong one. Fixes HighContrast menuitem color sometimes being black-on-black for selected items.
This commit is contained in:
parent
f8eac08a0a
commit
9ec2804775
@ -829,7 +829,7 @@ update_properties (GtkStyleContext *context,
|
||||
|
||||
gtk_widget_path_free (path);
|
||||
|
||||
store_in_global_parent_cache (context, parent, decl, style);
|
||||
store_in_global_parent_cache (context, parent, decl, result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user