diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-11-27 23:28:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-11-28 02:15:08 +0800 |
commit | 8ae3cc32830179e0937b315d673d11a17658e7ac (patch) | |
tree | 8cd30a3abc8f199aab84f71d67507ee20f5d2d99 /libemail-engine/mail-mt.c | |
parent | eedcd8118c26f2bb22cc0f8cee0fee5714efb257 (diff) | |
download | gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.gz gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.bz2 gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.lz gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.xz gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.zst gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.zip |
Remove mail_cancel_all().
Turns out this function was a no-op, because nothing registered itself
to be cancelled this way. This was part of the legacy async framework,
which we've mostly moved away from now.
Diffstat (limited to 'libemail-engine/mail-mt.c')
-rw-r--r-- | libemail-engine/mail-mt.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libemail-engine/mail-mt.c b/libemail-engine/mail-mt.c index 26c4592c02..0999c31df8 100644 --- a/libemail-engine/mail-mt.c +++ b/libemail-engine/mail-mt.c @@ -306,21 +306,6 @@ mail_msg_active (void) /* **************************************** */ -static GHookList cancel_hook_list; - -void -mail_cancel_all (void) -{ - camel_operation_cancel_all (); - - g_mutex_lock (&mail_msg_lock); - - if (cancel_hook_list.is_setup) - g_hook_list_invoke (&cancel_hook_list, FALSE); - - g_mutex_unlock (&mail_msg_lock); -} - static guint idle_source_id = 0; G_LOCK_DEFINE_STATIC (idle_source_id); static GAsyncQueue *main_loop_queue = NULL; |