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 /modules/mail | |
parent | 26240e0b180bdaf92702e513a21da2f859883fb3 (diff) | |
download | gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.gz gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.bz2 gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.lz gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.xz gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.zst gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.zip |
Adapt to Camel API changes.
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/e-mail-attachment-handler.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c index f27a107a59..ee49490f31 100644 --- a/modules/mail/e-mail-attachment-handler.c +++ b/modules/mail/e-mail-attachment-handler.c @@ -69,7 +69,7 @@ mail_attachment_handler_forward (GtkAction *action, attachment = E_ATTACHMENT (selected->data); mime_part = e_attachment_get_mime_part (attachment); - wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)); + wrapper = camel_medium_get_content (CAMEL_MEDIUM (mime_part)); em_utils_forward_message (CAMEL_MIME_MESSAGE (wrapper), NULL); @@ -91,7 +91,7 @@ mail_attachment_handler_reply_all (GtkAction *action, attachment = E_ATTACHMENT (selected->data); mime_part = e_attachment_get_mime_part (attachment); - wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)); + wrapper = camel_medium_get_content (CAMEL_MEDIUM (mime_part)); em_utils_reply_to_message ( NULL, NULL, CAMEL_MIME_MESSAGE (wrapper), @@ -115,7 +115,7 @@ mail_attachment_handler_reply_sender (GtkAction *action, attachment = E_ATTACHMENT (selected->data); mime_part = e_attachment_get_mime_part (attachment); - wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)); + wrapper = camel_medium_get_content (CAMEL_MEDIUM (mime_part)); em_utils_reply_to_message ( NULL, NULL, CAMEL_MIME_MESSAGE (wrapper), @@ -316,7 +316,7 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view, mime_part = camel_mime_part_new (); wrapper = CAMEL_DATA_WRAPPER (message); camel_mime_part_set_disposition (mime_part, "inline"); - camel_medium_set_content_object ( + camel_medium_set_content ( CAMEL_MEDIUM (mime_part), wrapper); camel_mime_part_set_content_type (mime_part, "message/rfc822"); camel_multipart_add_part (multipart, mime_part); @@ -327,7 +327,7 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view, mime_part = camel_mime_part_new (); wrapper = CAMEL_DATA_WRAPPER (multipart); - camel_medium_set_content_object (CAMEL_MEDIUM (mime_part), wrapper); + camel_medium_set_content (CAMEL_MEDIUM (mime_part), wrapper); /* Translators: This is only for multiple messages. */ description = g_strdup_printf (_("%d attached messages"), uids->len); @@ -399,7 +399,7 @@ mail_attachment_handler_update_actions (EAttachmentView *view) if (!CAMEL_IS_MIME_PART (mime_part)) goto exit; - wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)); + wrapper = camel_medium_get_content (CAMEL_MEDIUM (mime_part)); visible = CAMEL_IS_MIME_MESSAGE (wrapper); |