[gtk+/composite-templates] stylecontext: Remove leftover debugging

commit 5b51d71c155f23ec9fc15352ddea2654fa1f43ef
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 17 10:48:38 2012 +0200

    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 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 239dd55..538897a 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))

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]