forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
e2cc9f3afc
commit
37dac2a481
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user