aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-10 06:51:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-10 06:51:47 +0800
commit738650c1d1326b89a8a99cddcdde1a363c55e55f (patch)
treeb323a23810e7e6f60647ca498e4291f926bb65e4
parent14517cbca46e86fdb825a2ac6df35808290df99f (diff)
downloadgsoc2013-evolution-738650c1d1326b89a8a99cddcdde1a363c55e55f.tar.gz
gsoc2013-evolution-738650c1d1326b89a8a99cddcdde1a363c55e55f.tar.zst
gsoc2013-evolution-738650c1d1326b89a8a99cddcdde1a363c55e55f.zip
Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what
2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. (setup_ui): Don't free the default_charset, it's a const char*. svn path=/trunk/; revision=20797
-rw-r--r--composer/ChangeLog1
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1f7ee0e411..6c0b04b3d1 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -3,6 +3,7 @@
* e-msg-composer.c (composer_get_default_charset_setting): Use
e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno
what I was thinking. locale_name() doesn't even exist.
+ (setup_ui): Don't free the default_charset, it's a const char*.
* e-msg-composer-attachment-bar.c (get_default_charset): Same.
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2f8ddf45e9..aeabea9028 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2072,7 +2072,7 @@ static void
setup_ui (EMsgComposer *composer)
{
BonoboUIContainer *container;
- char *default_charset;
+ const char *default_charset;
gboolean hide_smime;
GConfClient *gconf;
@@ -2100,7 +2100,6 @@ setup_ui (EMsgComposer *composer)
default_charset,
menu_changed_charset_cb,
composer);
- g_free (default_charset);
/* Format -> HTML */
bonobo_ui_component_set_prop (