[gtk+/wip/css: 31/37] stylecontext: Remove leftover debugging
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 31/37] stylecontext: Remove leftover debugging
- Date: Mon, 17 Sep 2012 15:10:57 +0000 (UTC)
commit a91a4a66742017b5c1a5d3da047f87a35e0e950f
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 5eae30b..79c8804 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]