summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2005-03-03 19:51:31 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-03 19:51:31 +0000
commit34e5d022422590a0e100491804f5c2acdcab9071 (patch)
tree16aab547c21e759d92ba175e70c5f2e2b8631aa5 /pango/pango-fontmap.c
parentc29ccf10309f8c37de6385ef400774e803b596c4 (diff)
downloadpango-34e5d022422590a0e100491804f5c2acdcab9071.tar.gz
Add bug # to ChangeLog
Diffstat (limited to 'pango/pango-fontmap.c')
-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);
}