aboutsummaryrefslogtreecommitdiffstats
path: root/modules/prefer-plain
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-19 22:05:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:21 +0800
commit42d1e89f02e6a50f4957a4d3b9cdc3f2b49c2852 (patch)
tree3e818334a9fdf8dbbfa6cc4d6b72359d4fa7cf52 /modules/prefer-plain
parentca09edf8fa5f24cbc2a29989d8ba1dca5e004da2 (diff)
downloadgsoc2013-evolution-42d1e89f02e6a50f4957a4d3b9cdc3f2b49c2852.tar.gz
gsoc2013-evolution-42d1e89f02e6a50f4957a4d3b9cdc3f2b49c2852.tar.zst
gsoc2013-evolution-42d1e89f02e6a50f4957a4d3b9cdc3f2b49c2852.zip
Add e_mail_part_set_is_attachment().
Diffstat (limited to 'modules/prefer-plain')
-rw-r--r--modules/prefer-plain/e-mail-parser-prefer-plain.c2
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 32605dd406..f142b8b67a 100644
--- a/modules/prefer-plain/e-mail-parser-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c
@@ -323,7 +323,7 @@ empe_prefer_plain_parse (EMailParserExtension *extension,
mime_type = e_mail_part_get_mime_type (mpart);
if (mpart && mpart->is_hidden && g_strcmp0 (mime_type, "text/html") == 0) {
- mpart->is_attachment = TRUE;
+ e_mail_part_set_is_attachment (mpart, TRUE);
}
}
}