diff options
author | Benjamin Otte <otte@redhat.com> | 2015-03-09 23:53:43 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-09 23:54:41 +0100 |
commit | 9ec28047756256ad396ccb318e214e13dd034af0 (patch) | |
tree | 71e0525a6bca0b4b96f8cbdedc83eec39704a641 | |
parent | f8eac08a0a51de76864afb03eb6b3d857d6a6d40 (diff) | |
download | gtk+-9ec28047756256ad396ccb318e214e13dd034af0.tar.gz |
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.
-rw-r--r-- | gtk/gtkstylecontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |