summaryrefslogtreecommitdiff
path: root/pango/pangoft2-fontmap.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2001-10-03 18:28:02 +0000
committerSven Neumann <neo@src.gnome.org>2001-10-03 18:28:02 +0000
commitfcb2ec7803e96f6dc0f859cebc004dcc75584c89 (patch)
treebb75c469c3c71d22580e71a41df6fc8372da7c9c /pango/pangoft2-fontmap.c
parent5c3dee45a584a81d800ffc8291b9169af6d790c0 (diff)
downloadpango-fcb2ec7803e96f6dc0f859cebc004dcc75584c89.tar.gz
don't include family name if PANGO_FONT_MASK_FAMILY is not set.
2001-10-03 Sven Neumann <sven@gimp.org> * pango/fonts.c (pango_font_description_to_string): don't include family name if PANGO_FONT_MASK_FAMILY is not set. * pango/pangoft2-fontmap.c: make it compile with DEBUGGING being defined.
Diffstat (limited to 'pango/pangoft2-fontmap.c')
-rw-r--r--pango/pangoft2-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index 13df4248..8492524f 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -700,7 +700,7 @@ pango_print_desc (PangoFontDescription *desc)
PangoStretch stretch = pango_font_description_get_stretch (desc);
g_print ("%s%s%s%s%s",
- pango_font_get_family (desc),
+ pango_font_description_get_family (desc),
(style == PANGO_STYLE_NORMAL ? "" :
(style == PANGO_STYLE_OBLIQUE ? " OBLIQUE" :
(style == PANGO_STYLE_ITALIC ? " ITALIC" : " ???"))),