Commit b9a505b1 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

Plug a mem leak. Bug #506096.

2007-12-28  Christian Persch  <chpe@gnome.org>

	* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
	a mem leak. Bug #506096.

svn path=/trunk/; revision=19279
parent 5e30c5d9
2007-12-28 Christian Persch <chpe@gnome.org>
* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
a mem leak. Bug #506096.
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c:
......
......@@ -235,7 +235,7 @@ static void gtk_font_selection_get_property (GObject *object,
switch (prop_id)
{
case PROP_FONT_NAME:
g_value_set_string (value, gtk_font_selection_get_font_name (fontsel));
g_value_take_string (value, gtk_font_selection_get_font_name (fontsel));
break;
case PROP_FONT:
g_value_set_boxed (value, gtk_font_selection_get_font_internal (fontsel));
......
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