aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-03 03:33:48 +0800
committerDan Winship <danw@src.gnome.org>2001-01-03 03:33:48 +0800
commit20b84e201f497ecbb1206f625e0a559398dd6d86 (patch)
treec66508e4f86fc5a588814ea613bfbcce7f549abb /mail/mail-format.c
parentaf35d99587599042f7521aa761dc511a166df3cf (diff)
downloadgsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar.gz
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar.bz2
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar.lz
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar.xz
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.tar.zst
gsoc2013-evolution-20b84e201f497ecbb1206f625e0a559398dd6d86.zip
Use header_content_type_simple, not header_content_type_format.
* mail-format.c (mail_part_is_inline): (find_preferred_alternative): * mail-display.c (launch_cb): Use header_content_type_simple, not header_content_type_format. svn path=/trunk/; revision=7214
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 0cb1fb37ec..c7b6a14344 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -477,7 +477,7 @@ mail_part_is_inline (CamelMimePart *part)
/* Otherwise, display it inline if it's "anonymous", and
* as an attachment otherwise.
*/
- return is_anonymous (part, header_content_type_format (content_type));
+ return is_anonymous (part, header_content_type_simple (content_type));
}
static void
@@ -1327,7 +1327,7 @@ find_preferred_alternative (CamelMultipart *multipart, gboolean want_plain)
for (i = 0; i < nparts; i++) {
CamelMimePart *part = camel_multipart_get_part (multipart, i);
CamelContentType *type = camel_mime_part_get_content_type (part);
- char *mime_type = header_content_type_format (type);
+ char *mime_type = header_content_type_simple (type);
g_strdown (mime_type);
if (want_plain && !strcmp (mime_type, "text/plain"))