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:
Benjamin Otte 2015-03-09 23:53:43 +01:00
parent f8eac08a0a
commit 9ec2804775

View File

@ -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;
}