aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
author6 <NotZed@Ximian.com>2001-10-17 01:34:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-17 01:34:59 +0800
commit41802db26312f2d70ff5624e331e45277ce8a8ec (patch)
tree1ba4c61fa37c6e10942af3b24d9e24cbc85f33f6 /mail/mail-mt.h
parent1ca6ce72ac9952f1429873b3c129cdd643ee4462 (diff)
downloadgsoc2013-evolution-41802db26312f2d70ff5624e331e45277ce8a8ec.tar.gz
gsoc2013-evolution-41802db26312f2d70ff5624e331e45277ce8a8ec.tar.zst
gsoc2013-evolution-41802db26312f2d70ff5624e331e45277ce8a8ec.zip
New function to return the id of the currently executing proxied event.
2001-10-16 <NotZed@Ximian.com> * mail-mt.c (mail_proxy_event_id): New function to return the id of the currently executing proxied event. * folder-browser.h: Added private field. * folder-browser.c (folder_changed): Keep track of tasks outstanding in the tasks list, locked access. (FOLDER_BROWSER_LOCK, UNLOCK): Macros to lock the folder browser for poking about in diff threads. (folder_browser_finalise): Wait for any outstanding takss to finish before cleaning ourself up. (folder_browser_destroy): Move the seen_id handling to finalise, also add a loading_id handling code. (main_folder_changed): Remove our running task when done. svn path=/trunk/; revision=13695
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index feeddd10cc..057de1ddb0 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -70,6 +70,8 @@ gboolean mail_user_message (const char *type, const char *prompt, gboolean allow
/* forward a camel event (or other call) to the gui thread */
int mail_proxy_event(CamelObjectEventHookFunc func, CamelObject *o, void *event_data, void *data);
+/* in main (only), get the current event id */
+int mail_proxy_event_id(void);
/* Call a function in the gui thread, wait for it to return, type is the marshaller to use */
typedef enum {