Don't leak the font description. (#132168)

Fri Jan 23 23:46:12 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
	font description.  (#132168)
This commit is contained in:
Matthias Clasen 2004-01-23 22:55:47 +00:00 committed by Matthias Clasen
parent 07de591757
commit 01129468a8
6 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description. (#132168)
2004-01-23 Federico Mena Quintero <federico@ximian.com>
Fix #132247.
@ -45,6 +50,7 @@ Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com>
* NEWS: Organized, added some names.
>>>>>>> 1.4833
Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.

View File

@ -1,3 +1,8 @@
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description. (#132168)
2004-01-23 Federico Mena Quintero <federico@ximian.com>
Fix #132247.
@ -45,6 +50,7 @@ Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com>
* NEWS: Organized, added some names.
>>>>>>> 1.4833
Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.

View File

@ -1,3 +1,8 @@
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description. (#132168)
2004-01-23 Federico Mena Quintero <federico@ximian.com>
Fix #132247.
@ -45,6 +50,7 @@ Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com>
* NEWS: Organized, added some names.
>>>>>>> 1.4833
Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.

View File

@ -1,3 +1,8 @@
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description. (#132168)
2004-01-23 Federico Mena Quintero <federico@ximian.com>
Fix #132247.
@ -45,6 +50,7 @@ Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com>
* NEWS: Organized, added some names.
>>>>>>> 1.4833
Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.

View File

@ -1,3 +1,8 @@
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description. (#132168)
2004-01-23 Federico Mena Quintero <federico@ximian.com>
Fix #132247.
@ -45,6 +50,7 @@ Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com>
* NEWS: Organized, added some names.
>>>>>>> 1.4833
Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.

View File

@ -836,6 +836,8 @@ gtk_font_button_label_use_font (GtkFontButton *font_button)
pango_font_description_unset_fields (desc, PANGO_FONT_MASK_SIZE);
gtk_widget_modify_font (font_button->priv->font_label, desc);
pango_font_description_free (desc);
}
static gboolean