From 20b84e201f497ecbb1206f625e0a559398dd6d86 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 2 Jan 2001 19:33:48 +0000 Subject: 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 --- mail/mail-format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-format.c') 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")) -- cgit v1.2.3