From d01b25aa98ec2b5c2820e640694bfd7f13577eab Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 16 Jan 2004 00:48:11 +0000 Subject: unref the activity handler. 2004-01-16 Rodrigo Moya * gui/tasks-component.c (impl_dispose): unref the activity handler. svn path=/trunk/; revision=24263 --- calendar/ChangeLog | 5 +++++ calendar/gui/tasks-component.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index b3a8607fc5..d03d0aa7e5 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-01-16 Rodrigo Moya + + * gui/tasks-component.c (impl_dispose): unref the activity + handler. + 2004-01-16 Rodrigo Moya * gui/tasks-component.[ch] diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 0295b84b16..a2d39a0ce9 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -470,6 +470,11 @@ impl_dispose (GObject *object) g_list_free (priv->notifications); priv->notifications = NULL; + if (priv->activity_handler != NULL) { + g_object_unref (priv->activity_handler); + priv->activity_handler = NULL; + } + (* G_OBJECT_CLASS (parent_class)->dispose) (object); } -- cgit v1.2.3