[gtk+/nth-child: 33/33] cssprovider: Remove colors when resetting
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/nth-child: 33/33] cssprovider: Remove colors when resetting
- Date: Fri, 27 May 2011 23:06:27 +0000 (UTC)
commit c7275cc23058437ae0069231f8327ae1545b9a5a
Author: Benjamin Otte <otte redhat com>
Date: Sat May 28 01:01:42 2011 +0200
cssprovider: Remove colors when resetting
gtk/gtkcssprovider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 13d39fd..b5d79f5 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1522,6 +1522,8 @@ gtk_css_provider_reset (GtkCssProvider *css_provider)
priv = css_provider->priv;
+ g_hash_table_remove_all (priv->symbolic_colors);
+
for (i = 0; i < priv->rulesets->len; i++)
gtk_css_ruleset_clear (&g_array_index (priv->rulesets, GtkCssRuleset, i));
g_array_set_size (priv->rulesets, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]