aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-12-19 04:08:07 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-12-19 04:08:07 +0800
commit9cfea5f07ed3e4adbe3febccc3f62a8f9b01c97b (patch)
tree62fa390a21a026c2cb2fbbd88095c57253aea058 /mail/mail-mt.c
parent7bffd3413f09467e6953c9e561e568eec9e4a325 (diff)
downloadgsoc2013-evolution-9cfea5f07ed3e4adbe3febccc3f62a8f9b01c97b.tar.gz
gsoc2013-evolution-9cfea5f07ed3e4adbe3febccc3f62a8f9b01c97b.tar.zst
gsoc2013-evolution-9cfea5f07ed3e4adbe3febccc3f62a8f9b01c97b.zip
Fix another compiler warning.
2007-12-18 Matthew Barnes <mbarnes@redhat.com> * mail/mail-mt.c (do_op_status): Fix another compiler warning. svn path=/trunk/; revision=34728
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 4dba37c7e3..686836ea72 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -952,12 +952,6 @@ void mail_disable_stop(void)
MAIL_MT_UNLOCK(status_lock);
}
-static void
-operation_cancel (CamelOperation *p)
-{
- camel_operation_cancel (p);
-}
-
/* ******************************************************************************** */
struct _op_status_msg {
@@ -1026,7 +1020,7 @@ static void do_op_status(struct _mail_msg *mm)
what = g_strdup("");
}
- data->activity_id = e_activity_handler_cancelable_operation_started (activity_handler, "evolution-mail", progress_icon, what, TRUE, operation_cancel, msg->cancel);
+ data->activity_id = e_activity_handler_cancelable_operation_started (activity_handler, "evolution-mail", progress_icon, what, TRUE, (void (*) (gpointer)) camel_operation_cancel, msg->cancel);
g_free (what);
MAIL_MT_LOCK (mail_msg_lock);