aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-09-23 02:53:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-09-23 02:53:26 +0800
commitd60e250a6e858889c7d6e7c1a0d7f0e511a6e320 (patch)
treef55684e1df2e357139ee18be19ca137e45f469fc /mail/mail-mt.c
parent6abd6e01b3f220a127c780ffdf2ea9a80f028238 (diff)
downloadgsoc2013-evolution-d60e250a6e858889c7d6e7c1a0d7f0e511a6e320.tar.gz
gsoc2013-evolution-d60e250a6e858889c7d6e7c1a0d7f0e511a6e320.tar.zst
gsoc2013-evolution-d60e250a6e858889c7d6e7c1a0d7f0e511a6e320.zip
implement, we hook into the mail progress reporting stuff by overriding
2003-09-21 Not Zed <NotZed@Ximian.com> * mail-session.c (ms_thread_msg_new): implement, we hook into the mail progress reporting stuff by overriding the CamelOperation member with one from a dummy mail_msg. (ms_thread_msg_free): handle freeing. * mail-mt.c (mail_msg_free): mute the camel-operaiton when we free it so we no longer get updates. svn path=/trunk/; revision=22649
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 66b8d68130..603e55dd50 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -201,8 +201,10 @@ void mail_msg_free(void *msg)
MAIL_MT_UNLOCK(mail_msg_lock);
- if (m->cancel)
+ if (m->cancel) {
+ camel_operation_mute(m->cancel);
camel_operation_unref(m->cancel);
+ }
camel_exception_clear(&m->ex);
/*g_free(m->priv->what);*/