aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-calendar.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-12 03:08:53 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-12 03:08:53 +0800
commit76d4c1fa56ec4c02d68ad39ac847890936a4c098 (patch)
treeb3f2f7881d6bd7a97ea4dd11d47e8b1fbfbeb835 /my-evolution/e-summary-calendar.c
parent127cae25a2bcb06343cda67831bcbb851cd56dad (diff)
downloadgsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar.gz
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar.bz2
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar.lz
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar.xz
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.tar.zst
gsoc2013-evolution-76d4c1fa56ec4c02d68ad39ac847890936a4c098.zip
Free the data stop all the transfers when the summary is destroyed.
svn path=/trunk/; revision=11010
Diffstat (limited to 'my-evolution/e-summary-calendar.c')
-rw-r--r--my-evolution/e-summary-calendar.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/my-evolution/e-summary-calendar.c b/my-evolution/e-summary-calendar.c
index 43d1a9ac29..5e5b730620 100644
--- a/my-evolution/e-summary-calendar.c
+++ b/my-evolution/e-summary-calendar.c
@@ -322,3 +322,19 @@ e_summary_calendar_reconfigure (ESummary *summary)
{
generate_html (summary);
}
+
+void
+e_summary_calendar_free (ESummary *summary)
+{
+ ESummaryCalendar *calendar;
+
+ g_return_if_fail (summary != NULL);
+ g_return_if_fail (IS_E_SUMMARY (summary));
+
+ calendar = summary->calendar;
+ gtk_object_unref (GTK_OBJECT (calendar->client));
+ g_free (calendar->html);
+
+ g_free (calendar);
+ summary->calendar = NULL;
+}