projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b90dc1
)
Fixes a possible crash when closing windows.
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 19 Jan 2009 12:49:46 +0000
(12:49 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 19 Jan 2009 12:49:46 +0000
(12:49 +0000)
Unrefs the weak reference from the dimming rules group to the windows
pmo-trunk-r7180
src/modest-dimming-rules-group.c
patch
|
blob
|
history
diff --git
a/src/modest-dimming-rules-group.c
b/src/modest-dimming-rules-group.c
index
e848ae9
..
c275a28
100644
(file)
--- a/
src/modest-dimming-rules-group.c
+++ b/
src/modest-dimming-rules-group.c
@@
-128,6
+128,8
@@
modest_dimming_rules_group_finalize (GObject *obj)
priv = MODEST_DIMMING_RULES_GROUP_GET_PRIVATE(obj);
+ g_object_weak_unref (G_OBJECT (priv->window), on_window_destroy, obj);
+
if (priv->name != NULL)
g_free(priv->name);