aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-01 02:29:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-01 02:29:28 +0800
commite582ccff2d7642353462c966995be217a568a706 (patch)
tree1291a3f35a681fb863f84b5b0d82e68f40dfe3b0 /mail/mail-mt.h
parent3eb790382815e90c190b575ad44f32134f104680 (diff)
downloadgsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar.gz
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar.bz2
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar.lz
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar.xz
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.tar.zst
gsoc2013-evolution-e582ccff2d7642353462c966995be217a568a706.zip
Remove MailAsyncEvent.
As of commit 7fa0dd78305677d14839a480fc379ebba3a6d55c, all CamelFolder and CamelStore signals are emitted from idle callbacks. That means we don't have to propagate events to the main loop thread anymore, which eliminates all remaining uses of MailAsyncEvent.
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index 823f627b78..57b79ed5a4 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -83,21 +83,6 @@ void mail_msg_set_cancelable (gpointer msg, gboolean status);
gchar *mail_get_password (CamelService *service, const gchar *prompt,
gboolean secret, gboolean *cache);
-/* asynchronous event proxies */
-typedef struct _MailAsyncEvent {
- GMutex *lock;
- GSList *tasks;
-} MailAsyncEvent;
-
-typedef void (*MailAsyncFunc)(gpointer , gpointer , gpointer );
-
-/* create a new async event handler */
-MailAsyncEvent *mail_async_event_new (void);
-/* forward a camel event (or other call) to the gui thread */
-guint mail_async_event_emit (MailAsyncEvent *ea, MailAsyncFunc func, gpointer , gpointer , gpointer );
-/* wait for all outstanding async events to complete */
-gint mail_async_event_destroy (MailAsyncEvent *ea);
-
void mail_mt_set_backend (gchar *backend);
/* Call a function in the gui thread, wait for it to return, type is the marshaller to use */
@@ -114,8 +99,4 @@ typedef gpointer (*MailMainFunc)();
gpointer mail_call_main (mail_call_t type, MailMainFunc func, ...);
-/* A generic proxy event for anything that can be proxied during the life of the mailer (almost nothing) */
-/* Note that almost all objects care about the lifecycle of their events, so this cannot be used */
-extern MailAsyncEvent *mail_async_event;
-
#endif /* _MAIL_MT */