Commit 277a6f47 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent ca53272b
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)
......
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;
......
Supports Markdown
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