diff options
author | Benjamin Otte <otte@redhat.com> | 2012-09-17 10:48:38 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-09-17 20:39:14 +0200 |
commit | 37dac2a481f25deab436ca965cecb172938bc18a (patch) | |
tree | 7f32fa6eb7abf44e783d63d6380a83bac1be4155 | |
parent | e2cc9f3afc7a04e5d9afc319578ff42225c8be2d (diff) | |
download | gtk+-37dac2a481f25deab436ca965cecb172938bc18a.tar.gz |
stylecontext: Remove leftover debugging
... that actually was both wrong, a performance failure and has been
there since the original checkin.
Updating the cached style data absolutely does not mean clearing all
cached style data first. There's nothing to update then.
-rw-r--r-- | gtk/gtkstylecontext.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 239dd55bb3..538897af2e 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -2948,8 +2948,6 @@ gtk_style_context_update_cache (GtkStyleContext *context, priv = context->priv; - g_hash_table_remove_all (priv->style_data); - g_hash_table_iter_init (&iter, priv->style_data); while (g_hash_table_iter_next (&iter, &key, &value)) { |