aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-16 08:48:11 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-16 08:48:11 +0800
commitd01b25aa98ec2b5c2820e640694bfd7f13577eab (patch)
treeac1238262910b6f83bd9ea2c6496e251e5600507
parent8cfbc8ec2dfb219b67608b38f58130dd67310c04 (diff)
downloadgsoc2013-evolution-d01b25aa98ec2b5c2820e640694bfd7f13577eab.tar.gz
gsoc2013-evolution-d01b25aa98ec2b5c2820e640694bfd7f13577eab.tar.zst
gsoc2013-evolution-d01b25aa98ec2b5c2820e640694bfd7f13577eab.zip
unref the activity handler.
2004-01-16 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c (impl_dispose): unref the activity handler. svn path=/trunk/; revision=24263
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/tasks-component.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b3a8607fc5..d03d0aa7e5 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
+ * gui/tasks-component.c (impl_dispose): unref the activity
+ handler.
+
+2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
+
* gui/tasks-component.[ch]
(tasks_component_peek_activity_handler): new function.
(impl_createControls): create a task bar also for the tasks
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);
}