forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
0a100408da
commit
69055d826e
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2004-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2004-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2004-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2004-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the
|
* 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_weight (font_desc, PANGO_WEIGHT_BOLD);
|
||||||
pango_font_description_set_size (font_desc, size * PANGO_SCALE_LARGE);
|
pango_font_description_set_size (font_desc, size * PANGO_SCALE_LARGE);
|
||||||
gtk_widget_modify_font (dialog->label, font_desc);
|
gtk_widget_modify_font (dialog->label, font_desc);
|
||||||
|
pango_font_description_free (font_desc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user