[evolution-exchange] Adapt to Camel API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Adapt to Camel API changes.
- Date: Tue, 13 Apr 2010 16:15:42 +0000 (UTC)
commit 909d820a6dccacaec0edeae368029d314fd57a7b
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Apr 13 10:57:24 2010 -0400
Adapt to Camel API changes.
camel/camel-exchange-summary.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/camel/camel-exchange-summary.c b/camel/camel-exchange-summary.c
index 3cafdba..6bbcc27 100644
--- a/camel/camel-exchange-summary.c
+++ b/camel/camel-exchange-summary.c
@@ -74,6 +74,8 @@ exchange_summary_class_init (CamelObjectClass *klass)
parent_class = CAMEL_FOLDER_SUMMARY_CLASS (camel_type_get_global_classfuncs (camel_folder_summary_get_type()));
+ camel_folder_summary_class->message_info_size = sizeof (CamelExchangeMessageInfo);
+ camel_folder_summary_class->content_info_size = sizeof (CamelMessageContentInfo);
camel_folder_summary_class->summary_header_load = header_load;
camel_folder_summary_class->summary_header_save = header_save;
camel_folder_summary_class->message_info_load = message_info_load;
@@ -91,12 +93,8 @@ exchange_summary_class_init (CamelObjectClass *klass)
}
static void
-exchange_summary_init (CamelObject *obj, CamelObjectClass *klass)
+exchange_summary_init (CamelFolderSummary *summary)
{
- CamelFolderSummary *summary = (CamelFolderSummary *)obj;
-
- summary->message_info_size = sizeof (CamelExchangeMessageInfo);
- summary->content_info_size = sizeof (CamelMessageContentInfo);
}
CamelType
@@ -112,7 +110,7 @@ camel_exchange_summary_get_type (void)
sizeof (CamelExchangeSummaryClass),
exchange_summary_class_init,
NULL,
- exchange_summary_init,
+ (CamelObjectInitFunc) exchange_summary_init,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]