summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 17:39:06 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 12:47:53 -0700
commitfe3294ccf5a0b37c8a0950cc994ee0dfdd1dd909 (patch)
tree3e06853b3268dbcda8fd8a00efca07ee7b70b670 /pango/pangoft2.c
parente32db1e971d80ec12d095b2180a9ebbcd8217317 (diff)
downloadpango-fe3294ccf5a0b37c8a0950cc994ee0dfdd1dd909.tar.gz
fc: Drop freetype from pangofc-font.h
Stop using FT_Face here, so we can stop including freetype headers.
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index e2d5685f..e8bb8e1f 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -64,7 +64,7 @@ static void pango_ft2_font_get_glyph_extents (PangoFont *font,
PangoRectangle *ink_rect,
PangoRectangle *logical_rect);
-static FT_Face pango_ft2_font_real_lock_face (PangoFcFont *font);
+static gpointer pango_ft2_font_real_lock_face (PangoFcFont *font);
static void pango_ft2_font_real_unlock_face (PangoFcFont *font);
@@ -430,7 +430,7 @@ pango_ft2_font_get_kerning (PangoFont *font,
return PANGO_UNITS_26_6 (kerning.x);
}
-static FT_Face
+static gpointer
pango_ft2_font_real_lock_face (PangoFcFont *font)
{
return pango_ft2_font_get_face ((PangoFont *)font);