summaryrefslogtreecommitdiff
path: root/pango/ellipsize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 23:51:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 23:51:59 -0400
commit0ae5be87e072e984078c9ad7e1ad30cebd1bd5d1 (patch)
tree79e03f44c05faa1aea8610ea0127a62646793f3a /pango/ellipsize.c
parent38832882799b337f4c47b9c9d2c8534d57d7a21e (diff)
downloadpango-0ae5be87e072e984078c9ad7e1ad30cebd1bd5d1.tar.gz
Rename pango_font_covers
We already had a has_char api in pangofc, so use that name.
Diffstat (limited to 'pango/ellipsize.c')
-rw-r--r--pango/ellipsize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/ellipsize.c b/pango/ellipsize.c
index 928ec744..002853c3 100644
--- a/pango/ellipsize.c
+++ b/pango/ellipsize.c
@@ -345,8 +345,8 @@ shape_ellipsis (EllipsizeState *state)
/* If that fails we use "..." in the first matching font
*/
if (!item->analysis.font ||
- !pango_font_covers (item->analysis.font,
- g_utf8_get_char (ellipsis_text)))
+ !pango_font_has_char (item->analysis.font,
+ g_utf8_get_char (ellipsis_text)))
{
pango_item_free (item);