aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-27 23:28:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-28 02:15:08 +0800
commit8ae3cc32830179e0937b315d673d11a17658e7ac (patch)
tree8cd30a3abc8f199aab84f71d67507ee20f5d2d99 /libemail-engine
parenteedcd8118c26f2bb22cc0f8cee0fee5714efb257 (diff)
downloadgsoc2013-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')
-rw-r--r--libemail-engine/mail-mt.c15
-rw-r--r--libemail-engine/mail-mt.h3
2 files changed, 0 insertions, 18 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;
diff --git a/libemail-engine/mail-mt.h b/libemail-engine/mail-mt.h
index 8ac8b8c293..b8c9923b04 100644
--- a/libemail-engine/mail-mt.h
+++ b/libemail-engine/mail-mt.h
@@ -99,9 +99,6 @@ void mail_msg_unordered_push (gpointer msg);
void mail_msg_fast_ordered_push (gpointer msg);
void mail_msg_slow_ordered_push (gpointer msg);
-/* To implement the stop button */
-void mail_cancel_all (void);
-
/* Call a function in the GUI thread, wait for it to return, type is
* the marshaller to use. FIXME This thing is horrible, please put
* it out of its misery. */