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
This commit is contained in:
committed by
Christian Persch
parent
5e30c5d986
commit
b9a505b10c
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-12-28 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkprintoperation.c:
|
* gtk/gtkprintoperation.c:
|
||||||
|
|||||||
@ -235,7 +235,7 @@ static void gtk_font_selection_get_property (GObject *object,
|
|||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
case PROP_FONT_NAME:
|
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;
|
break;
|
||||||
case PROP_FONT:
|
case PROP_FONT:
|
||||||
g_value_set_boxed (value, gtk_font_selection_get_font_internal (fontsel));
|
g_value_set_boxed (value, gtk_font_selection_get_font_internal (fontsel));
|
||||||
|
|||||||
Reference in New Issue
Block a user