Commit 995c3ce4 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Plug leak.

2004-06-01  Morten Welinder  <terra@gnome.org>

	* widget-font-selector.c (size_selected): Plug leak.
parent e335043a
2004-06-01 Morten Welinder <terra@gnome.org>
* widget-font-selector.c (size_selected): Plug leak.
2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
* Makefile.am: removed gnumeric-combo-text.[c,h]
......
......@@ -281,8 +281,8 @@ static void
size_selected (GtkTreeSelection *selection,
FontSelector *fs)
{
GnmStyle *change = mstyle_new ();
gchar *text;
GnmStyle *change = mstyle_new ();
gchar *text;
GtkTreeModel *model;
GtkTreeIter iter;
......@@ -290,6 +290,7 @@ size_selected (GtkTreeSelection *selection,
gtk_tree_model_get (model, &iter, 0, &text, -1);
gtk_entry_set_text (GTK_ENTRY (fs->font_size_entry), text);
mstyle_set_font_size (change, atof (text));
g_free (text);
fs_modify_style (fs, change);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment