[evolution/email-factory-3-4: 36/38] Bug 666081 - Duplicate typedefs
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/email-factory-3-4: 36/38] Bug 666081 - Duplicate typedefs
- Date: Fri, 16 Dec 2011 11:57:29 +0000 (UTC)
commit 4ff92bba58edf8e67052b9a356c04ead1b639f89
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Fri Dec 16 16:03:02 2011 +0530
Bug 666081 - Duplicate typedefs
GCC handles it but not valid in C89 or C99.
libemail-engine/mail-folder-cache.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libemail-engine/mail-folder-cache.h b/libemail-engine/mail-folder-cache.h
index a34375c..8c8f741 100644
--- a/libemail-engine/mail-folder-cache.h
+++ b/libemail-engine/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;
@@ -111,7 +111,8 @@ 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);
+struct _EMailSession
+ mail_folder_cache_get_session (MailFolderCache *cache);
void mail_folder_cache_note_store (MailFolderCache *cache,
CamelStore *store,
GCancellable *cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]