aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-02-09 15:54:01 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-02-09 15:54:01 +0800
commitc6aded804ac9798179675670732cf6a524501eb1 (patch)
tree0ef626c09381941dcddfd2c2f054111d76587556 /mail/em-mailer-prefs.c
parent695d5cfac8c80a2aa2d1a5ca999ac4aaebaf976c (diff)
downloadgsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.gz
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.zst
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.zip
Freeing font value string. See #309316.
svn path=/trunk/; revision=31460
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 e437ee0860..bf32fd9fb3 100644
--- a/mail/em-mailer-prefs.c
+++ b/mail/em-mailer-prefs.c
@@ -819,6 +819,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL);
prefs->font_fixed = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontFixed"));
gnome_font_picker_set_font_name (prefs->font_fixed, font);
+ g_free (font);
g_object_set_data ((GObject *) prefs->font_fixed, "key", "/apps/evolution/mail/display/fonts/monospace");
g_signal_connect (prefs->font_fixed, "font-set", G_CALLBACK (font_changed), prefs);
if (!gconf_client_key_is_writable (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL))