diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-20 06:43:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-20 06:43:29 +0800 |
commit | f4d748a85c534cb8a693b6a1f1b3353adfd73b5b (patch) | |
tree | 2a793f70989026a6b8706215e0ddefb413022d7c /calendar/gui/dialogs | |
parent | 94ec01deda562c323ead315c4ea48043db68b8d0 (diff) | |
download | gsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.tar.gz gsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.tar.zst gsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.zip |
Fix similar weak pointer issues throughout.
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 268f61ac03..64f80b4557 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -1314,6 +1314,12 @@ comp_editor_dispose (GObject *object) priv = COMP_EDITOR_GET_PRIVATE (object); + if (priv->shell != NULL) { + g_object_remove_weak_pointer ( + G_OBJECT (priv->shell), &priv->shell); + priv->shell = NULL; + } + if (priv->client) { g_object_unref (priv->client); priv->client = NULL; |