From 9ec28047756256ad396ccb318e214e13dd034af0 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 9 Mar 2015 23:53:43 +0100 Subject: [PATCH] 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. --- gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 59e158fba8..481048651f 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -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; }