aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-27 23:27:40 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-28 02:15:08 +0800
commiteedcd8118c26f2bb22cc0f8cee0fee5714efb257 (patch)
tree0790b05e5af1d82c74eda5e73cdfe85d8e5954f5
parent19991bcbd02b9f4fb877ee81c18ddfd85706e9fa (diff)
downloadgsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar.gz
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar.bz2
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar.lz
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar.xz
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.tar.zst
gsoc2013-evolution-eedcd8118c26f2bb22cc0f8cee0fee5714efb257.zip
Remove unused mail_cancel_hook_remove().
-rw-r--r--doc/reference/evolution-mail-engine/evolution-mail-engine-sections.txt1
-rw-r--r--libemail-engine/mail-mt.c11
-rw-r--r--libemail-engine/mail-mt.h1
3 files changed, 0 insertions, 13 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 2baea01202..c666ff9e53 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_remove
mail_cancel_all
mail_get_password
mail_in_main_thread
diff --git a/libemail-engine/mail-mt.c b/libemail-engine/mail-mt.c
index c54ac39a80..26c4592c02 100644
--- a/libemail-engine/mail-mt.c
+++ b/libemail-engine/mail-mt.c
@@ -309,17 +309,6 @@ mail_msg_active (void)
static GHookList cancel_hook_list;
void
-mail_cancel_hook_remove (GHook *hook)
-{
- g_mutex_lock (&mail_msg_lock);
-
- g_return_if_fail (cancel_hook_list.is_setup);
- g_hook_destroy_link (&cancel_hook_list, hook);
-
- g_mutex_unlock (&mail_msg_lock);
-}
-
-void
mail_cancel_all (void)
{
camel_operation_cancel_all ();
diff --git a/libemail-engine/mail-mt.h b/libemail-engine/mail-mt.h
index 32a8d96438..8ac8b8c293 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 */
-void mail_cancel_hook_remove (GHook *hook);
void mail_cancel_all (void);
/* Call a function in the GUI thread, wait for it to return, type is