aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-21 05:35:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-21 05:35:59 +0800
commit41f1a39d589c9747c0b0517ec1e2d881c3a450f0 (patch)
tree621b81b83add74db9eae7b83f26a9038bef64dc3 /mail/mail-format.c
parentabada7e2cd02933caa7a2643c0771b3ee7a63cfe (diff)
downloadgsoc2013-evolution-41f1a39d589c9747c0b0517ec1e2d881c3a450f0.tar.gz
gsoc2013-evolution-41f1a39d589c9747c0b0517ec1e2d881c3a450f0.tar.zst
gsoc2013-evolution-41f1a39d589c9747c0b0517ec1e2d881c3a450f0.zip
Use camel_charset_canonical_name() here instead of e_iconv_charset_name().
2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Use camel_charset_canonical_name() here instead of e_iconv_charset_name(). * mail-preferences.c (mail_preferences_construct): Same as below. (mail_preferences_apply): Again here. * mail-composer-prefs.c (mail_composer_prefs_construct): Use camel_charset_locale_name() here instead of e_iconv_locale_charset(). (mail_composer_prefs_apply): Same. svn path=/trunk/; revision=19978
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 02c9fc6df5..d3e8e1110c 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -35,9 +35,9 @@
#include <libgnome/gnome-util.h>
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
-#include <gal/util/e-iconv.h>
#include <shell/e-setup.h>
+#include <camel/camel-charset-map.h>
#include <camel/camel-mime-utils.h>
#include <camel/camel-pgp-mime.h>
#include <camel/camel-stream-null.h>
@@ -1015,7 +1015,7 @@ write_headers (MailDisplayStream *stream, MailDisplay *md, CamelMimeMessage *mes
ct = camel_mime_part_get_content_type (CAMEL_MIME_PART (message));
charset = header_content_type_param (ct, "charset");
- charset = e_iconv_charset_name (charset);
+ charset = camel_charset_canonical_name (charset);
header = CAMEL_MIME_PART (message)->headers;
while (header) {