[evolution] Remove unused mail_cancel_hook_remove().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused mail_cancel_hook_remove().
- Date: Wed, 27 Nov 2013 18:13:54 +0000 (UTC)
commit eedcd8118c26f2bb22cc0f8cee0fee5714efb257
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Nov 27 10:27:40 2013 -0500
Remove unused mail_cancel_hook_remove().
.../evolution-mail-engine-sections.txt | 1 -
libemail-engine/mail-mt.c | 11 -----------
libemail-engine/mail-mt.h | 1 -
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 2baea01..c666ff9 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 c54ac39..26c4592 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 32a8d96..8ac8b8c 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]