summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2005-03-03 19:51:15 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-03 19:51:15 +0000
commit5c7f90587af7812c449a4e21b6655869ad37fe94 (patch)
tree77eac06f213d54d37cfdddf702e0d85be0ec699c /pango
parent6a81555674685af6032b3963a802580e9288460f (diff)
downloadpango-5c7f90587af7812c449a4e21b6655869ad37fe94.tar.gz
Add bug # to ChangeLog
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-fontmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index c94e1a24..80fcfbd3 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -58,6 +58,7 @@ pango_font_map_load_font (PangoFontMap *fontmap,
const PangoFontDescription *desc)
{
g_return_val_if_fail (fontmap != NULL, NULL);
+ g_return_val_if_fail (pango_font_description_get_family (desc) != NULL, NULL);
return PANGO_FONT_MAP_GET_CLASS (fontmap)->load_font (fontmap, context, desc);
}