diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /mail/mail-mt.h | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip |
Coding style cleanups.
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r-- | mail/mail-mt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h index d8b4fc70d2..c27f61ce6c 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -54,7 +54,7 @@ struct _MailMsgInfo { }; /* setup ports */ -void mail_msg_init(void); +void mail_msg_init (void); void mail_msg_cleanup (void); gboolean mail_in_main_thread (void); @@ -64,10 +64,10 @@ gpointer mail_msg_new (MailMsgInfo *info); gpointer mail_msg_ref (gpointer msg); void mail_msg_unref (gpointer msg); void mail_msg_check_error (gpointer msg); -void mail_msg_cancel(guint msgid); -void mail_msg_wait(guint msgid); -void mail_msg_wait_all(void); -gint mail_msg_active(guint msgid); +void mail_msg_cancel (guint msgid); +void mail_msg_wait (guint msgid); +void mail_msg_wait_all (void); +gint mail_msg_active (guint msgid); /* dispatch a message */ void mail_msg_main_loop_push (gpointer msg); @@ -99,11 +99,11 @@ typedef enum _mail_async_event_t { typedef void (*MailAsyncFunc)(gpointer , gpointer , gpointer ); /* create a new async event handler */ -MailAsyncEvent *mail_async_event_new(void); +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, mail_async_event_t type, MailAsyncFunc func, gpointer , gpointer , gpointer ); /* wait for all outstanding async events to complete */ -gint mail_async_event_destroy(MailAsyncEvent *ea); +gint mail_async_event_destroy (MailAsyncEvent *ea); void mail_mt_set_backend (gchar *backend); @@ -119,7 +119,7 @@ typedef enum { typedef gpointer (*MailMainFunc)(); -gpointer mail_call_main(mail_call_t type, MailMainFunc func, ...); +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 */ |