aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mail-mt.c28
-rw-r--r--mail/mail-mt.h1
2 files changed, 0 insertions, 29 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)
{
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index 7a9efb94e4..e925946f0a 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -64,7 +64,6 @@ gpointer mail_msg_ref (gpointer msg);
void mail_msg_unref (gpointer msg);
void mail_msg_check_error (gpointer msg);
void mail_msg_cancel (guint msgid);
-void mail_msg_wait (guint msgid);
gboolean mail_msg_active (void);
/* dispatch a message */
amp;id=2b93cb99fd0cfcc9ca88eb698f6354b09ffc83c1'>net-mgmt/unifi4: Update to 4.8.20feld2016-07-103-12/+13 * net-mgmt/unifi4: Update to 4.8.18feld2016-05-063-8/+9 * net-mgmt/unifi4: Add a LOCAL mirror for the distfilesfeld2016-04-271-1/+2 * net/mgmt/unifi4: Update to 4.8.15feld2016-04-093-11/+15 * Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.mat2016-04-011-2/+2 * net-mgmt/unifi4: Update to 4.8.14feld2016-03-023-443/+444 * net-mgmt/unifi4: Update to 4.8.12feld2016-02-023-459/+519 * net-mgmt/unifi4: update to 4.7.6feld2015-11-063-11/+11 * net-mgmt/unifi4: Update to 4.7.5feld2015-09-303-12/+33 * Add NO_ARCHfeld2015-09-191-0/+1 * Unifi as of 3.2.7 and 4.2.0 support Java 8, so make it the default sincefeld2015-07-131-2/+2 * 4.6.6 is now a General Availability Releasefeld2015-07-031-1/+2 * Update to 4.6.6feld2015-06-263-9/+9 * Update to 4.6.4feld2015-04-303-11/+12 * Update to 4.6.3feld2015-04-063-378/+379 * Clean up @dir syntaxfeld2015-03-301-5/+5 * Improve default file permissionsfeld2015-03-242-1/+10 * Update to 4.6.0feld2015-03-243-289/+380