mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
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
|
* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
|
||||||
invalid fontnames better. (#136926, Michael R. Walton)
|
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
|
* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
|
||||||
invalid fontnames better. (#136926, Michael R. Walton)
|
invalid fontnames better. (#136926, Michael R. Walton)
|
||||||
|
|
||||||
|
@ -869,7 +869,7 @@ gtk_font_button_update_font_info (GtkFontButton *font_button)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
style = NULL;
|
style = NULL;
|
||||||
if (font_button->priv->show_style)
|
if (font_button->priv->show_style && family)
|
||||||
{
|
{
|
||||||
PangoFontFamily **families;
|
PangoFontFamily **families;
|
||||||
PangoFontFace **faces;
|
PangoFontFace **faces;
|
||||||
|
Loading…
Reference in New Issue
Block a user