diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-08-27 02:17:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-08-27 02:17:59 +0800 |
commit | a09cef605f4fc1bfbfbb4d23d32106f710debc95 (patch) | |
tree | 29094be868b06499a1020d59f891fcca435fd966 /mail/mail-ops.c | |
parent | 04b9ec51d45f2efb3b8118eef99c7592ba269792 (diff) | |
download | gsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.tar.gz gsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.tar.zst gsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.zip |
temporarily reverting camel namespace changes until after other branches have been merged
svn path=/trunk/; revision=22374
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 397df4c418..489dda4402 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1936,7 +1936,7 @@ save_prepare_part (CamelMimePart *mime_part) /* We want to save textual parts as 8bit instead of encoded */ type = camel_data_wrapper_get_mime_type_field (wrapper); - if (camel_content_type_is (type, "text", "*")) + if (header_content_type_is (type, "text", "*")) camel_mime_part_set_encoding (mime_part, CAMEL_MIME_PART_ENCODING_8BIT); } } @@ -2087,8 +2087,8 @@ save_part_save (struct _mail_msg *mm) data = camel_medium_get_content_object (CAMEL_MEDIUM (m->part)); content_type = camel_mime_part_get_content_type (m->part); - if (camel_content_type_is (content_type, "text", "*") - && (charset = camel_content_type_param (content_type, "charset")) + if (header_content_type_is (content_type, "text", "*") + && (charset = header_content_type_param (content_type, "charset")) && strcasecmp (charset, "utf-8") != 0) { charsetfilter = camel_mime_filter_charset_new_convert ("utf-8", charset); filtered_stream = (CamelStream *) camel_stream_filter_new_with_stream (stream_fs); |