aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-03-29 05:12:12 +0800
committerDan Winship <danw@src.gnome.org>2000-03-29 05:12:12 +0800
commitc7ae879700164da8cca08620b8ee8ab745dfb407 (patch)
tree08b4bc039b368231bd84e3a1edca30d901c82451 /camel/providers
parent207652677441264ca1e51d06898b37ea4164c8e2 (diff)
downloadgsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar.gz
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar.bz2
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar.lz
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar.xz
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.tar.zst
gsoc2013-evolution-c7ae879700164da8cca08620b8ee8ab745dfb407.zip
fix warnings
svn path=/trunk/; revision=2217
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/mbox/camel-mbox-utils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/providers/mbox/camel-mbox-utils.c b/camel/providers/mbox/camel-mbox-utils.c
index 52f28b9fa6..f341210f71 100644
--- a/camel/providers/mbox/camel-mbox-utils.c
+++ b/camel/providers/mbox/camel-mbox-utils.c
@@ -309,7 +309,7 @@ index_message_content(ibex *index, CamelDataWrapper *object)
parts = camel_multipart_get_number (CAMEL_MULTIPART(containee));
/*printf("multipart message, scanning contents %d parts ...\n", parts);*/
for (i=0;i<parts;i++) {
- index_message_content(index, camel_multipart_get_part(CAMEL_MULTIPART(containee), i));
+ index_message_content(index, CAMEL_DATA_WRAPPER (camel_multipart_get_part(CAMEL_MULTIPART(containee), i)));
}
} else {
/*printf("\nunknwon format, ignored\n");*/
@@ -357,7 +357,6 @@ index_message(ibex *index, int fd, CamelMboxParserMessageInfo *mi)
CamelStream *stream;
CamelMimeMessage *message;
int newfd;
- int i;
if (index != NULL) {
/*printf("indexing message\n %s\n %d for %d bytes\n", mi->from, mi->message_position, mi->size);*/
@@ -371,11 +370,11 @@ index_message(ibex *index, int fd, CamelMboxParserMessageInfo *mi)
camel_data_wrapper_set_input_stream (
CAMEL_DATA_WRAPPER (message), stream);
- index_message_content(index, message);
+ index_message_content(index, CAMEL_DATA_WRAPPER (message));
/* printf("messageid = '%s'\n", message->message_uid);*/
- gtk_object_unref (message);
+ gtk_object_unref (GTK_OBJECT (message));
gtk_object_unref (GTK_OBJECT (stream));
lseek(fd, pos, SEEK_SET);