aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2005-07-13 18:38:07 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2005-07-13 18:38:07 +0800
commita09f4c7c08cb5a7e171b6a71ae4465b8dfd94152 (patch)
treee8ef2c79061efc8c5a54da5958a60ef8ee0110dc /mail/em-mailer-prefs.c
parent0cea49284ec02828d1dd1ec85cb28b8ea914a2eb (diff)
downloadgsoc2013-evolution-a09f4c7c08cb5a7e171b6a71ae4465b8dfd94152.tar.gz
gsoc2013-evolution-a09f4c7c08cb5a7e171b6a71ae4465b8dfd94152.tar.zst
gsoc2013-evolution-a09f4c7c08cb5a7e171b6a71ae4465b8dfd94152.zip
Free font name Free font name and name of citation color. Free search
2005-07-13 Kjartan Maraas <kmaraas@gnome.org> * em-mailer-prefs.c: (em_mailer_prefs_construct): Free font name * mail-config.c: (config_write_style): Free font name and name of citation color. * message-list.c: (regen_list_regened), (regen_list_free): Free search string. Thanks to Michael Zucchi for walking me through this one. My brain wasn't running on all it's cylinders... svn path=/trunk/; revision=29759
Diffstat (limited to 'mail/em-mailer-prefs.c')
-rw-r--r--mail/em-mailer-prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c
index 09a61e50cd..ff2f68713d 100644
--- a/mail/em-mailer-prefs.c
+++ b/mail/em-mailer-prefs.c
@@ -814,6 +814,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/variable", NULL);
prefs->font_variable = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontVariable"));
gnome_font_picker_set_font_name (prefs->font_variable, font);
+ g_free (font);
g_object_set_data ((GObject *) prefs->font_variable, "key", "/apps/evolution/mail/display/fonts/variable");
g_signal_connect (prefs->font_variable, "font-set", G_CALLBACK (font_changed), prefs);
if (!gconf_client_key_is_writable (prefs->gconf, "/apps/evolution/mail/display/fonts/variable", NULL))