mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Avoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
2004-06-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
This commit is contained in:
parent
776c9c7480
commit
1e052c424f
@ -1,3 +1,8 @@
|
||||
2004-06-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
|
||||
a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
|
||||
|
||||
Fri Jun 25 00:32:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
|
||||
a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
|
||||
|
||||
Fri Jun 25 00:32:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
|
||||
a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
|
||||
|
||||
Fri Jun 25 00:32:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
|
||||
a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
|
||||
|
||||
Fri Jun 25 00:32:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
|
||||
|
@ -878,9 +878,10 @@ gtk_font_button_update_font_info (GtkFontButton *font_button)
|
||||
gint n_families, n_faces, i;
|
||||
|
||||
n_families = 0;
|
||||
n_faces = 0;
|
||||
pango_context_list_families (gtk_widget_get_pango_context (GTK_WIDGET (font_button)),
|
||||
&families, &n_families);
|
||||
n_faces = 0;
|
||||
faces = NULL;
|
||||
for (i = 0; i < n_families; i++)
|
||||
{
|
||||
const gchar *name = pango_font_family_get_name (families[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user