aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-text-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-text-html.c')
-rw-r--r--em-format/e-mail-parser-text-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/e-mail-parser-text-html.c b/em-format/e-mail-parser-text-html.c
index b9a4653728..bfb8cae2af 100644
--- a/em-format/e-mail-parser-text-html.c
+++ b/em-format/e-mail-parser-text-html.c
@@ -79,7 +79,7 @@ empe_text_html_parse (EMailParserExtension *extension,
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");
e_mail_part_set_cid (mail_part, cid);
g_string_truncate (part_id, len);