diff options
Diffstat (limited to 'camel/camel-folder-summary.h')
-rw-r--r-- | camel/camel-folder-summary.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h index 22a108192a..cd7f46a8dd 100644 --- a/camel/camel-folder-summary.h +++ b/camel/camel-folder-summary.h @@ -35,14 +35,9 @@ /*typedef struct _CamelFolderSummary CamelFolderSummary;*/ typedef struct _CamelFolderSummaryClass CamelFolderSummaryClass; -/* these structs from camel-folder-summary.h ... (remove comment after cleanup soon) */ -/* TODO: perhaps they should be full-block objects? */ -/* FIXME: rename this to something more suitable */ typedef struct { - gchar *name; - gint nb_message; /* ick, these should be renamed to something better */ - gint nb_unread_message; - gint nb_deleted_message; + char *full_name, *name; + int message_count, unread_message_count; } CamelFolderInfo; /* A tree of message content info structures @@ -235,4 +230,7 @@ void camel_tag_list_free(CamelTag **list); void camel_message_info_dup_to(const CamelMessageInfo *from, CamelMessageInfo *to); void camel_message_info_free(CamelMessageInfo *mi); +/* folder info utils */ +void camel_folder_info_free(CamelFolderInfo *fi); + #endif /* ! _CAMEL_FOLDER_SUMMARY_H */ |