summaryrefslogtreecommitdiff
path: root/pango/pangoxft-font.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/pangoxft-font.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/pangoxft-font.c')
-rw-r--r--pango/pangoxft-font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 2526b13d..779eb886 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -75,7 +75,7 @@ static void pango_xft_font_get_glyph_extents (PangoFont
PangoRectangle *ink_rect,
PangoRectangle *logical_rect);
-static FT_Face pango_xft_font_real_lock_face (PangoFcFont *font);
+static gpointer pango_xft_font_real_lock_face (PangoFcFont *font);
static void pango_xft_font_real_unlock_face (PangoFcFont *font);
static gboolean pango_xft_font_real_has_char (PangoFcFont *font,
gunichar wc);
@@ -449,12 +449,12 @@ xft_font_get_font (PangoFont *font)
return xfont->xft_font;
}
-static FT_Face
+static gpointer
pango_xft_font_real_lock_face (PangoFcFont *font)
{
XftFont *xft_font = xft_font_get_font ((PangoFont *)font);
- return XftLockFace (xft_font);
+ return (gpointer)XftLockFace (xft_font);
}
static void