aboutsummaryrefslogtreecommitdiffstats
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
parentb537b315eb4a658ce46aa883e3706e4f6111b106 (diff)
downloadgsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.gz
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.bz2
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.lz
gsoc2013-evolution-75f6646f13b8ba8f649a2ffd447cc5442d5e93ff.tar.xz
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
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b04ea273ce..79504737fb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-01 Dan Winship <danw@ximian.com>
+
+ * mail-config.c (config_read): Fix dumb misuse of g_get_charset.
+
2001-05-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Removed the code to
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");