diff options
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r-- | my-evolution/e-summary-tasks.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 963f8bf87b..e8dc52de7a 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -287,3 +287,19 @@ e_summary_tasks_reconfigure (ESummary *summary) { } + +void +e_summary_tasks_free (ESummary *summary) +{ + ESummaryTasks *tasks; + + g_return_if_fail (summary != NULL); + g_return_if_fail (IS_E_SUMMARY (summary)); + + tasks = summary->tasks; + gtk_object_unref (GTK_OBJECT (tasks->client)); + g_free (tasks->html); + + g_free (tasks); + summary->tasks = NULL; +} |