projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
80511f2
)
The dimming manager now runs dispose over the rules groups in dispose method to break...
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 5 Aug 2009 16:11:38 +0000
(18:11 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 5 Aug 2009 16:11:38 +0000
(18:11 +0200)
src/modest-ui-dimming-manager.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-dimming-manager.c
b/src/modest-ui-dimming-manager.c
index
c314130
..
7391eea
100644
(file)
--- a/
src/modest-ui-dimming-manager.c
+++ b/
src/modest-ui-dimming-manager.c
@@
-154,6
+154,12
@@
modest_ui_dimming_manager_dispose (GObject *obj)
g_hash_table_remove_all (priv->delayed_calls);
}
+ if (priv->groups_map) {
+ g_hash_table_foreach (priv->groups_map, g_object_run_dispose, NULL);
+ g_hash_table_unref (priv->groups_map);
+ priv->groups_map = NULL;
+ }
+
G_OBJECT_CLASS(parent_class)->dispose (obj);
}