aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-composer-prefs.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-06-06 03:30:18 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-06-06 03:30:18 +0800
commit7c0ae30997a173f4f6411123fdef2db9512ad4a4 (patch)
tree8bfa0cbbfe3561d8e9eeab04f5836e849bc412f6 /mail/mail-composer-prefs.c
parent5a9c89aeeafbcf70eac4958b239363d23a8988e5 (diff)
downloadgsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.gz
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.zst
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.zip
use gtk string instead of utf8 one
2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r--mail/mail-composer-prefs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index 95bb5bf8a8..669c02c4fe 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -311,14 +311,15 @@ static void
sig_fill_clist (GtkCList *clist)
{
GList *l;
- char *name[1];
+ char *name [1];
int row;
gtk_clist_freeze (clist);
for (l = mail_config_get_signature_list (); l; l = l->next) {
- name[0] = ((MailConfigSignature *) l->data)->name;
+ name [0] = e_utf8_to_gtk_string (clist, ((MailConfigSignature *) l->data)->name);
row = gtk_clist_append (clist, name);
gtk_clist_set_row_data (clist, row, l->data);
+ g_free (name [0]);
}
gtk_clist_thaw (clist);
}