diff options
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r-- | pango/pangoxft-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c index 2e96c1f4..3df873b6 100644 --- a/pango/pangoxft-font.c +++ b/pango/pangoxft-font.c @@ -511,7 +511,7 @@ pango_xft_font_get_display (PangoFont *font) * Returns the index of a glyph suitable for drawing @wc as an * unknown character. * - * Use pango_fc_font_get_unknown_glyph() instead. + * Use PANGO_GET_UNKNOWN_GLYPH() instead. * * Return value: a glyph index into @font. **/ @@ -519,7 +519,7 @@ PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font, gunichar wc) { - g_return_val_if_fail (PANGO_XFT_IS_FONT (font), -1); + g_return_val_if_fail (PANGO_XFT_IS_FONT (font), PANGO_GLYPH_EMPTY); return pango_fc_font_get_unknown_glyph (PANGO_FC_FONT (font), wc); } |