diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-09 19:59:56 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-09 19:59:56 +0000 |
commit | 277a6f4701f43cc70bb57bd39ee783f75370442e (patch) | |
tree | d65ef91816e48452dc8fb3b2d7b13671fc8ee901 /gtk/gtkfontbutton.c | |
parent | ca53272b7fbad798531027ced630d56109e938b0 (diff) | |
download | gtk+-277a6f4701f43cc70bb57bd39ee783f75370442e.tar.gz |
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)
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r-- | gtk/gtkfontbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index c9cd587db3..d49c62d775 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -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; |