aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-01 23:28:57 +0800
committerDan Winship <danw@src.gnome.org>2001-06-01 23:28:57 +0800
commit75f6646f13b8ba8f649a2ffd447cc5442d5e93ff (patch)
tree9579952b4d5036dc7748bd73419d5d1d6aa49bf2 /mail/mail-config.c
parentb537b315eb4a658ce46aa883e3706e4f6111b106 (diff)
downloadgsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.gz
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.zst
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.zip
Fix dumb misuse of g_get_charset.
* mail-config.c (config_read): Fix dumb misuse of g_get_charset. svn path=/trunk/; revision=10079
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index af1667200f..2819abaffa 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -40,6 +40,7 @@
#include <bonobo/bonobo-context.h>
#include <gal/util/e-util.h>
+#include <gal/unicode/gunicode.h>
#include <e-util/e-html-utils.h>
#include <e-util/e-url.h>
#include "mail.h"
@@ -483,7 +484,7 @@ config_read (void)
config->default_charset = gnome_config_get_string (str);
g_free (str);
if (!config->default_charset) {
- config->default_charset = g_get_charset ();
+ g_get_charset (&config->default_charset);
if (!config->default_charset ||
!g_strcasecmp (config->default_charset, "US-ASCII"))
config->default_charset = g_strdup ("ISO-8859-1");