diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-19 08:59:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-20 01:07:21 +0800 |
commit | 875746e0ef57dc6f0592397d5ba9e561d8751c13 (patch) | |
tree | 0688deb80bbf3109d37ee5428cb03dfe370d1925 /modules/prefer-plain | |
parent | 0ee556d346fe8976b63d9eb1c929b41a101037e1 (diff) | |
download | gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar.gz gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar.bz2 gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar.lz gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar.xz gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.tar.zst gsoc2013-evolution-875746e0ef57dc6f0592397d5ba9e561d8751c13.zip |
Add e_mail_part_set_mime_type().
Diffstat (limited to 'modules/prefer-plain')
-rw-r--r-- | modules/prefer-plain/e-mail-parser-prefer-plain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prefer-plain/e-mail-parser-prefer-plain.c b/modules/prefer-plain/e-mail-parser-prefer-plain.c index df23c79e19..32605dd406 100644 --- a/modules/prefer-plain/e-mail-parser-prefer-plain.c +++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c @@ -120,7 +120,7 @@ make_part_attachment (EMailParser *parser, len = part_id->len; g_string_append (part_id, ".text_html"); mail_part = e_mail_part_new (part, part_id->str); - mail_part->mime_type = g_strdup ("text/html"); + e_mail_part_set_mime_type (mail_part, "text/html"); g_string_truncate (part_id, len); g_queue_push_tail (&work_queue, mail_part); |