aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-30 21:39:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-01 01:55:39 +0800
commitfc2c71593a190a0742639cd1f22664aecdc0d05d (patch)
treee4a43f616d514c27c1fef35c4caef04e4830cfa6 /mail/mail-mt.h
parent8dd3119dadd898f5d401ad413593d05258131872 (diff)
downloadgsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar.gz
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar.bz2
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar.lz
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar.xz
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.tar.zst
gsoc2013-evolution-fc2c71593a190a0742639cd1f22664aecdc0d05d.zip
Remove "type" parameter from mail_async_event_emit().
All remaining cases use MAIL_ASYNC_GUI, so remove mail_async_event_t altogether.
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index de00eec5a6..823f627b78 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -89,17 +89,12 @@ typedef struct _MailAsyncEvent {
GSList *tasks;
} MailAsyncEvent;
-typedef enum _mail_async_event_t {
- MAIL_ASYNC_GUI,
- MAIL_ASYNC_THREAD
-} mail_async_event_t;
-
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, mail_async_event_t type, MailAsyncFunc func, gpointer , gpointer , gpointer );
+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);