Commit 69055d82 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't leak pango_font_description object (#160214, Frederic Crozat).

2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmessagedialog.c: (setup_primary_label_font):
	Don't leak pango_font_description object (#160214, Frederic Crozat).
parent 0a100408
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmessagedialog.c: (setup_primary_label_font):
Don't leak pango_font_description object (#160214, Frederic Crozat).
2004-12-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmessagedialog.c: (setup_primary_label_font):
Don't leak pango_font_description object (#160214, Frederic Crozat).
2004-12-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmessagedialog.c: (setup_primary_label_font):
Don't leak pango_font_description object (#160214, Frederic Crozat).
2004-12-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmessagedialog.c: (setup_primary_label_font):
Don't leak pango_font_description object (#160214, Frederic Crozat).
2004-12-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
......
......@@ -265,6 +265,7 @@ setup_primary_label_font (GtkMessageDialog *dialog)
pango_font_description_set_weight (font_desc, PANGO_WEIGHT_BOLD);
pango_font_description_set_size (font_desc, size * PANGO_SCALE_LARGE);
gtk_widget_modify_font (dialog->label, font_desc);
pango_font_description_free (font_desc);
}
}
......
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