diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-05 05:45:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:01:04 +0800 |
commit | 2f0d83cf74b94d5e6272c07179df6e6c7a929789 (patch) | |
tree | cf6b432d7992770ac8841f242cb487c2ac31a7fc /em-format/e-mail-formatter-attachment.c | |
parent | 13f4544dafe211a748b064b86a8af4085d042b2b (diff) | |
download | gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar.gz gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar.bz2 gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar.lz gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar.xz gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.tar.zst gsoc2013-evolution-2f0d83cf74b94d5e6272c07179df6e6c7a929789.zip |
EMailFormatterContext: Keep a reference to EMailPartList.
Replace the individual components of an EMailPartList with a reference
on the EMailPartList itself in EMailFormatContext. Easier to manage.
Diffstat (limited to 'em-format/e-mail-formatter-attachment.c')
-rw-r--r-- | em-format/e-mail-formatter-attachment.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/em-format/e-mail-formatter-attachment.c b/em-format/e-mail-formatter-attachment.c index 62fa65e597..e8660fc0b8 100644 --- a/em-format/e-mail-formatter-attachment.c +++ b/em-format/e-mail-formatter-attachment.c @@ -157,7 +157,7 @@ emfe_attachment_format (EMailFormatterExtension *extension, } } - store = find_attachment_store (context->parts, part->id); + store = find_attachment_store (context->part_list->list, part->id); if (store) { GList *attachments = e_attachment_store_get_attachments (store); if (!g_list_find (attachments, empa->attachment)) { @@ -281,8 +281,8 @@ emfe_attachment_format (EMailFormatterExtension *extension, GSList *att_parts; att_parts = e_mail_part_list_get_iter ( - context->parts, - empa->attachment_view_part_id); + context->part_list->list, + empa->attachment_view_part_id); if (att_parts && att_parts->data) { ok = e_mail_formatter_format_as ( |