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/tnef-attachments | |
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/tnef-attachments')
-rw-r--r-- | plugins/tnef-attachments/tnef-plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c index cb9752e324..f75fcf051b 100644 --- a/plugins/tnef-attachments/tnef-plugin.c +++ b/plugins/tnef-attachments/tnef-plugin.c @@ -89,7 +89,7 @@ org_gnome_format_tnef(gpointer ep, EMFormatHookTarget *t) out = camel_stream_fs_new_with_name(name, O_RDWR|O_CREAT, 0666); if (out == NULL) goto fail; - content = camel_medium_get_content_object((CamelMedium *)t->part); + content = camel_medium_get_content ((CamelMedium *)t->part); if (content == NULL) goto fail; if (camel_data_wrapper_decode_to_stream(content, out) == -1 @@ -120,7 +120,7 @@ org_gnome_format_tnef(gpointer ep, EMFormatHookTarget *t) camel_data_wrapper_set_mime_type((CamelDataWrapper *)mp, "multipart/mixed"); camel_multipart_set_boundary(mp, NULL); - camel_medium_set_content_object((CamelMedium *)mainpart, (CamelDataWrapper *)mp); + camel_medium_set_content ((CamelMedium *)mainpart, (CamelDataWrapper *)mp); while ((d = readdir(dir))) { CamelMimePart *part; @@ -144,7 +144,7 @@ org_gnome_format_tnef(gpointer ep, EMFormatHookTarget *t) part = camel_mime_part_new(); camel_mime_part_set_encoding(part, CAMEL_TRANSFER_ENCODING_BINARY); - camel_medium_set_content_object((CamelMedium *)part, content); + camel_medium_set_content ((CamelMedium *)part, content); camel_object_unref(content); type = em_format_snoop_type(part); |