aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-charset-map.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-20 07:11:13 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-20 07:11:13 +0800
commit49e81a0bda0d8914a4785d73e366b680186e9406 (patch)
treef2d637e244fdc12eb9b822b0586140c879b85e71 /camel/camel-charset-map.h
parentd20ac81f624dd26da52a921add73cb96f96cddbb (diff)
downloadgsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar.gz
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar.bz2
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar.lz
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar.xz
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.tar.zst
gsoc2013-evolution-49e81a0bda0d8914a4785d73e366b680186e9406.zip
Modified to treat the return value from camel_charset_locale_name() as a
2001-07-19 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (pgp_verify): Modified to treat the return value from camel_charset_locale_name() as a const char*. * camel-sasl-digest-md5.c (digest_response): Modified to treat the return value from camel_charset_locale_name() as a const char*. * camel-charset-map.c (camel_charset_locale_name): Modify to return const char* by returning the static locale_charset which is created inside of camel_charset_map_init(). (camel_charset_map_init): Find the locale charset here and set the static variable. svn path=/trunk/; revision=11245
Diffstat (limited to 'camel/camel-charset-map.h')
-rw-r--r--camel/camel-charset-map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-charset-map.h b/camel/camel-charset-map.h
index 47b3cc0cab..0a0efb1cd3 100644
--- a/camel/camel-charset-map.h
+++ b/camel/camel-charset-map.h
@@ -37,7 +37,7 @@ const char *camel_charset_best_name(CamelCharset *);
/* helper function */
const char *camel_charset_best(const char *in, int len);
-char *camel_charset_locale_name (void);
+const char *camel_charset_locale_name (void);
const char *camel_charset_get_iconv_friendly_name (const char *name);