aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index d843ffef1d..688d42c793 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -1161,6 +1161,11 @@ destroy_component_view (TasksComponentView *component_view)
{
GList *l;
+ g_signal_handlers_disconnect_by_func (component_view->table, G_CALLBACK (table_selection_change_cb), component_view);
+ g_signal_handlers_disconnect_matched (component_view->model, G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, component_view);
+ g_signal_handlers_disconnect_by_func (component_view->tasks, G_CALLBACK (source_added_cb), component_view);
+ g_signal_handlers_disconnect_by_func (component_view->tasks, G_CALLBACK (source_removed_cb), component_view);
+
if (component_view->source_list)
g_object_unref (component_view->source_list);