diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-15 02:44:08 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-12-15 02:46:31 +0800 |
commit | a4f11df843ef2ab53e32c6fd84e3d980e0d092cf (patch) | |
tree | 059f7d7e96eb90f0586904a4f119f3b76a0e046c /mail/e-mail-account-store.h | |
parent | 017f373b5284b4d7177c19e5ac2a142a5362a15c (diff) | |
download | gsoc2013-evolution-a4f11df843ef2ab53e32c6fd84e3d980e0d092cf.tar.gz gsoc2013-evolution-a4f11df843ef2ab53e32c6fd84e3d980e0d092cf.tar.zst gsoc2013-evolution-a4f11df843ef2ab53e32c6fd84e3d980e0d092cf.zip |
Bug 666081 - Duplicate typedefs
GCC handles it but not valid in C89 or C99.
Diffstat (limited to 'mail/e-mail-account-store.h')
-rw-r--r-- | mail/e-mail-account-store.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/e-mail-account-store.h b/mail/e-mail-account-store.h index e4355da3a8..560dde64c7 100644 --- a/mail/e-mail-account-store.h +++ b/mail/e-mail-account-store.h @@ -44,7 +44,7 @@ G_BEGIN_DECLS /* Avoid a circular dependency. */ -typedef struct _EMailSession EMailSession; +struct _EMailSession; typedef enum { E_MAIL_ACCOUNT_STORE_COLUMN_SERVICE, @@ -95,10 +95,11 @@ struct _EMailAccountStoreClass { GType e_mail_account_store_get_type (void) G_GNUC_CONST; EMailAccountStore * - e_mail_account_store_new (EMailSession *session); + e_mail_account_store_new (struct _EMailSession *session); void e_mail_account_store_clear (EMailAccountStore *store); gboolean e_mail_account_store_get_busy (EMailAccountStore *store); -EMailSession * e_mail_account_store_get_session +struct _EMailSession * + e_mail_account_store_get_session (EMailAccountStore *store); CamelService * e_mail_account_store_get_default_service (EMailAccountStore *store); |