aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-05 13:21:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-07 09:10:57 +0800
commit41f0d7117eb958bd4a153c27e3cd0a58e14f4d75 (patch)
tree472b21d27779f0c4cfc55869532b35ae85ef7f8c /mail/mail-mt.c
parent8382a9cbfb2c58cee99c34a93d027a50a1bf695c (diff)
downloadgsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar.gz
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar.bz2
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar.lz
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar.xz
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.tar.zst
gsoc2013-evolution-41f0d7117eb958bd4a153c27e3cd0a58e14f4d75.zip
Adapt to CamelOperation API changes.
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 0d05a21a86..526571f61f 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -283,7 +283,7 @@ mail_msg_cancel (guint msgid)
g_mutex_unlock (mail_msg_lock);
if (cancellable != NULL) {
- camel_operation_cancel (CAMEL_OPERATION (cancellable));
+ g_cancellable_cancel (cancellable);
g_object_unref (cancellable);
}
}
@@ -340,7 +340,7 @@ mail_cancel_hook_remove (GHook *hook)
void
mail_cancel_all (void)
{
- camel_operation_cancel (NULL);
+ camel_operation_cancel_all ();
g_mutex_lock (mail_msg_lock);