aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index f9375bf02b..3b77496d07 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -433,10 +433,22 @@ EMsgPort *mail_gui_reply_port;
static GIOChannel *mail_gui_reply_channel;
/* a couple of global threads available */
+#ifdef G_OS_WIN32
+#undef mail_thread_queued
+static
+#endif
EThread *mail_thread_queued; /* for operations that can (or should) be queued */
EThread *mail_thread_queued_slow; /* for operations that can (or should) be queued, but take a long time */
EThread *mail_thread_new; /* for operations that should run in a new thread each time */
+#ifdef G_OS_WIN32
+EThread *
+mail_win32_get_mail_thread_queued (void)
+{
+ return mail_thread_queued;
+}
+#endif
+
static gboolean
mail_msgport_replied(GIOChannel *source, GIOCondition cond, void *d)
{