diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-04 04:55:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-04 11:06:39 +0800 |
commit | a8feedf3901a6db06e810f0dfd6ef370b23a2718 (patch) | |
tree | 7037c865bae26f0abcf71500cedb62db130a12d5 /plugins/prefer-plain | |
parent | 26240e0b180bdaf92702e513a21da2f859883fb3 (diff) | |
download | gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.gz gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.zst gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.zip |
Adapt to Camel API changes.
Diffstat (limited to 'plugins/prefer-plain')
-rw-r--r-- | plugins/prefer-plain/prefer-plain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c index 7a3417bb3b..358f234e12 100644 --- a/plugins/prefer-plain/prefer-plain.c +++ b/plugins/prefer-plain/prefer-plain.c @@ -99,7 +99,7 @@ export_as_attachments (CamelMultipart *mp, EMFormat *format, CamelStream *stream part = camel_multipart_get_part (mp, i); if (part != except) { - CamelMultipart *multipart = (CamelMultipart *)camel_medium_get_content_object((CamelMedium *)part); + CamelMultipart *multipart = (CamelMultipart *)camel_medium_get_content ((CamelMedium *)part); if (CAMEL_IS_MULTIPART (multipart)) { export_as_attachments (multipart, format, stream, except); @@ -113,7 +113,7 @@ export_as_attachments (CamelMultipart *mp, EMFormat *format, CamelStream *stream void org_gnome_prefer_plain_multipart_alternative(gpointer ep, EMFormatHookTarget *t) { - CamelMultipart *mp = (CamelMultipart *)camel_medium_get_content_object((CamelMedium *)t->part); + CamelMultipart *mp = (CamelMultipart *)camel_medium_get_content ((CamelMedium *)t->part); CamelMimePart *part, *display_part = NULL; gint i, nparts, partidlen, displayid = 0; |