diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-11-27 23:23:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-11-28 02:15:08 +0800 |
commit | 19991bcbd02b9f4fb877ee81c18ddfd85706e9fa (patch) | |
tree | 1ebf2d7a3928b9ede8012d52e325e42f62139997 /libemail-engine | |
parent | f0a37733c35b73aa6de155481e2c57e8544d9d42 (diff) | |
download | gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar.gz gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar.bz2 gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar.lz gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar.xz gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.tar.zst gsoc2013-evolution-19991bcbd02b9f4fb877ee81c18ddfd85706e9fa.zip |
Remove unused mail_cancel_hook_add().
Diffstat (limited to 'libemail-engine')
-rw-r--r-- | libemail-engine/mail-mt.c | 22 | ||||
-rw-r--r-- | libemail-engine/mail-mt.h | 1 |
2 files changed, 0 insertions, 23 deletions
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); |