aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-13 05:39:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-13 05:41:53 +0800
commit0e87b9fa4e6136c6d9e7d5b754759155b8c808e1 (patch)
tree04edd3a861aea8789a68f81272533a6c77fc96b5 /mail/mail-mt.c
parent3c5f899f2dffb805aeff4bde6172a6dcfd8bae79 (diff)
downloadgsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar.gz
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar.bz2
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar.lz
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar.xz
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.tar.zst
gsoc2013-evolution-0e87b9fa4e6136c6d9e7d5b754759155b8c808e1.zip
Remove unused mail_msg_wait().
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index cbf836aa06..9cac82841d 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -318,34 +318,6 @@ mail_msg_cancel (guint msgid)
}
}
-/* waits for a message to be finished processing (freed)
- the messageid is from MailMsg->seq */
-void
-mail_msg_wait (guint msgid)
-{
- MailMsg *m;
-
- if (mail_in_main_thread ()) {
- g_mutex_lock (mail_msg_lock);
- m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid));
- while (m) {
- g_mutex_unlock (mail_msg_lock);
- gtk_main_iteration ();
- g_mutex_lock (mail_msg_lock);
- m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid));
- }
- g_mutex_unlock (mail_msg_lock);
- } else {
- g_mutex_lock (mail_msg_lock);
- m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid));
- while (m) {
- g_cond_wait (mail_msg_cond, mail_msg_lock);
- m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid));
- }
- g_mutex_unlock (mail_msg_lock);
- }
-}
-
gboolean
mail_msg_active (void)
{