aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt1
-rw-r--r--libemail-engine/mail-mt.c22
-rw-r--r--libemail-engine/mail-mt.h1
3 files changed, 0 insertions, 24 deletions
diff --git a/doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt b/doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt
index 4eae9c7012..2baea01202 100644
--- a/doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt
+++ b/doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt
@@ -363,7 +363,6 @@ mail_msg_main_loop_push
mail_msg_unordered_push
mail_msg_fast_ordered_push
mail_msg_slow_ordered_push
-mail_cancel_hook_add
mail_cancel_hook_remove
mail_cancel_all
mail_get_password
diff --git a/libemail-engine/mail-mt.c b/libemail-engine/mail-mt.c
index 96f8e7267f..c54ac39a80 100644
--- a/libemail-engine/mail-mt.c
+++ b/libemail-engine/mail-mt.c
@@ -308,28 +308,6 @@ mail_msg_active (void)
static GHookList cancel_hook_list;
-GHook *
-mail_cancel_hook_add (GHookFunc func,
- gpointer data)
-{
- GHook *hook;
-
- g_mutex_lock (&mail_msg_lock);
-
- if (!cancel_hook_list.is_setup)
- g_hook_list_init (&cancel_hook_list, sizeof (GHook));
-
- hook = g_hook_alloc (&cancel_hook_list);
- hook->func = func;
- hook->data = data;
-
- g_hook_append (&cancel_hook_list, hook);
-
- g_mutex_unlock (&mail_msg_lock);
-
- return hook;
-}
-
void
mail_cancel_hook_remove (GHook *hook)
{
diff --git a/libemail-engine/mail-mt.h b/libemail-engine/mail-mt.h
index 4af3344326..32a8d96438 100644
--- a/libemail-engine/mail-mt.h
+++ b/libemail-engine/mail-mt.h
@@ -100,7 +100,6 @@ void mail_msg_fast_ordered_push (gpointer msg);
void mail_msg_slow_ordered_push (gpointer msg);
/* To implement the stop button */
-GHook * mail_cancel_hook_add (GHookFunc func, gpointer data);
void mail_cancel_hook_remove (GHook *hook);
void mail_cancel_all (void);