aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/tasks-component.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d345e23a53..fb81e8c1a8 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-30 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bnc #363908
+ Evolution crashed during exit
+
+ * gui/tasks-component.c: (destroy_component_view):
+
2008-04-30 Ashish Shrivastava <shashish@novell.com>
** Fix for bnc #368277
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);