aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memo-table.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-20 06:43:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-20 06:43:29 +0800
commitf4d748a85c534cb8a693b6a1f1b3353adfd73b5b (patch)
tree2a793f70989026a6b8706215e0ddefb413022d7c /calendar/gui/e-memo-table.c
parent94ec01deda562c323ead315c4ea48043db68b8d0 (diff)
downloadgsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.tar.gz
gsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.tar.zst
gsoc2013-evolution-f4d748a85c534cb8a693b6a1f1b3353adfd73b5b.zip
Fix similar weak pointer issues throughout.
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r--calendar/gui/e-memo-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 4ad24e5a34..4c6cd9b865 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -519,6 +519,12 @@ memo_table_dispose (GObject *object)
priv = E_MEMO_TABLE_GET_PRIVATE (object);
+ if (priv->shell_view != NULL) {
+ g_object_remove_weak_pointer (
+ G_OBJECT (priv->shell_view), &priv->shell_view);
+ priv->shell_view = NULL;
+ }
+
if (priv->model != NULL) {
g_object_unref (priv->model);
priv->model = NULL;