aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-account-store.h7
-rw-r--r--mail/e-mail-session.h3
-rw-r--r--mail/mail-folder-cache.h7
3 files changed, 8 insertions, 9 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);
diff --git a/mail/e-mail-session.h b/mail/e-mail-session.h
index e10e3c3d1f..f810cf6c4a 100644
--- a/mail/e-mail-session.h
+++ b/mail/e-mail-session.h
@@ -55,9 +55,6 @@
G_BEGIN_DECLS
-/* Avoids a circular dependency. */
-typedef struct _EMailAccountStore EMailAccountStore;
-
typedef struct _EMailSession EMailSession;
typedef struct _EMailSessionClass EMailSessionClass;
typedef struct _EMailSessionPrivate EMailSessionPrivate;
diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h
index 78d5fd94de..8e9fa34fe5 100644
--- a/mail/mail-folder-cache.h
+++ b/mail/mail-folder-cache.h
@@ -50,7 +50,7 @@
G_BEGIN_DECLS
/* Avoid a circular dependency. */
-typedef struct _EMailSession EMailSession;
+struct _EMailSession;
typedef struct _MailFolderCache MailFolderCache;
typedef struct _MailFolderCacheClass MailFolderCacheClass;
@@ -110,8 +110,9 @@ struct _MailFolderCacheClass {
GType mail_folder_cache_get_type (void) G_GNUC_CONST;
MailFolderCache *
- mail_folder_cache_new (EMailSession *session);
-EMailSession * mail_folder_cache_get_session (MailFolderCache *cache);
+ mail_folder_cache_new (struct _EMailSession *session);
+struct _EMailSession *
+ mail_folder_cache_get_session (MailFolderCache *cache);
void mail_folder_cache_note_store (MailFolderCache *cache,
CamelStore *store,
GCancellable *cancellable,