From 5ebef95975b4e0021887d41463a07ac0438eb7dc Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 16 Oct 2006 14:50:33 +0000 Subject: List the function mail_win32_get_mail_thread_queued() instead of the 2006-10-16 Tor Lillqvist * win32/libevolution-mail.def: List the function mail_win32_get_mail_thread_queued() instead of the variable mail_thread_queued. (#348212) * mail-mt.h: On Win32 we don't want to use the mail_thread_queued variable outside the libevolution-mail DLL, but instead access its value through a getter function. * mail-mt.c: Make mail_thread_queued static on Win32. (mail_win32_get_mail_thread_queued): New function that returns the value of mail_thread_queued. svn path=/trunk/; revision=32898 --- mail/mail-mt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-mt.h') diff --git a/mail/mail-mt.h b/mail/mail-mt.h index f018fd337c..99893cce26 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -118,7 +118,12 @@ extern EMsgPort *mail_gui_port; extern EMsgPort *mail_gui_reply_port; /* some globally available threads */ +#ifndef G_OS_WIN32 extern EThread *mail_thread_queued; /* for operations that can (or should) be queued */ +#else +EThread *mail_win32_get_mail_thread_queued (void); +#define mail_thread_queued mail_win32_get_mail_thread_queued () +#endif extern EThread *mail_thread_new; /* for operations that should run in a new thread each time */ extern EThread *mail_thread_queued_slow; /* for operations that can (or should) be queued, but take a long time */ -- cgit