forked from AuroraMiddleware/gtk
Handle invalid fontnames better. (#315187, Ed Catmur)
2005-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Handle invalid fontnames better. (#315187, Ed Catmur)
This commit is contained in:
parent
ca53272b7f
commit
277a6f4701
@ -1,5 +1,3 @@
|
||||
2005-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
|
||||
invalid fontnames better. (#136926, Michael R. Walton)
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
2005-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
|
||||
invalid fontnames better. (#136926, Michael R. Walton)
|
||||
|
||||
|
@ -869,7 +869,7 @@ gtk_font_button_update_font_info (GtkFontButton *font_button)
|
||||
#endif
|
||||
|
||||
style = NULL;
|
||||
if (font_button->priv->show_style)
|
||||
if (font_button->priv->show_style && family)
|
||||
{
|
||||
PangoFontFamily **families;
|
||||
PangoFontFace **faces;
|
||||
|
Loading…
Reference in New Issue
Block a user