From 37dac2a481f25deab436ca965cecb172938bc18a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 17 Sep 2012 10:48:38 +0200 Subject: [PATCH] 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. --- gtk/gtkstylecontext.c | 2 -- 1 file changed, 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)) {