From 6d29300fdf6fe18576c54d3e1ed2d8c9982945a6 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Wed, 30 Apr 2008 09:01:26 +0000 Subject: Patch from Srinivasa Ragavan ** Fix for bnc #363908 Fix for Evolution crashed during exit svn path=/trunk/; revision=35452 --- calendar/gui/tasks-component.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar/gui') 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); -- cgit