aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
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. */