diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-08 07:00:34 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-08 07:00:34 +0800 |
commit | c6f978717a1c74aaefece1748a6fe7fb710f670b (patch) | |
tree | 1a0d3bb0f98ff57f2a8e7037b70d567d6474e113 /camel/providers/imap/camel-imap-folder.c | |
parent | 56d7e7d9ba6dd33a666d418d346cbc87f01f2761 (diff) | |
download | gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar.gz gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar.bz2 gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar.lz gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar.xz gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.tar.zst gsoc2013-evolution-c6f978717a1c74aaefece1748a6fe7fb710f670b.zip |
providers/imap/camel-imap-summary.c now builds
svn path=/trunk/; revision=3470
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index a45d9bd35b..b1e6fc9011 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -454,7 +454,7 @@ imap_append_message (CamelFolder *folder, CamelMimeMessage *message, CamelExcept g_return_if_fail (message != NULL); /* write the message to a CamelStreamMem so we can get it's size */ - mem = (CamelStreamMem *)camel_stream_mem_new(); + mem = CAMEL_STREAM_MEM (camel_stream_mem_new()); if (camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), CAMEL_STREAM (mem)) == -1) { CamelService *service = CAMEL_SERVICE (folder->parent_store); camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, @@ -500,7 +500,7 @@ imap_get_uids (CamelFolder *folder, CamelException *ex) array = g_ptr_array_new (); g_ptr_array_set_size (array, count); for (i = 0; i < count; i++) { - info = CAMEL_IMAP_MESSAGE_INFO (camel_folder_summary_index(CAMEL_FOLDER_SUMMARY (imap_folder->summary), i)); + info = (CamelImapMessageInfo *) camel_folder_summary_index(CAMEL_FOLDER_SUMMARY (imap_folder->summary), i); array->pdata[i] = g_strdup(info->info.uid); } @@ -673,7 +673,7 @@ imap_get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException * } /* where we read from */ - message_stream = (CamelStreamMem *)camel_stream_mem_new_with_buffer (result, strlen(result)); + message_stream = CAMEL_STREAM_MEM (camel_stream_mem_new_with_buffer (result, strlen(result))); if (message_stream == NULL) goto fail; |