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:
Matthias Clasen 2005-09-09 19:59:56 +00:00 committed by Matthias Clasen
parent ca53272b7f
commit 277a6f4701
3 changed files with 1 additions and 5 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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;