summaryrefslogtreecommitdiff
path: root/pango/pangofc-font.h
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/pangofc-font.h
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/pangofc-font.h')
-rw-r--r--pango/pangofc-font.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pango/pangofc-font.h b/pango/pangofc-font.h
index 5d04088e..fc6ee529 100644
--- a/pango/pangofc-font.h
+++ b/pango/pangofc-font.h
@@ -30,8 +30,6 @@
#pragma GCC diagnostic ignored "-Wundef"
#endif
-#include <ft2build.h>
-#include FT_FREETYPE_H
#include <fontconfig/fontconfig.h>
#ifdef PANGO_COMPILATION
@@ -47,12 +45,11 @@ G_BEGIN_DECLS
typedef struct _PangoFcFont PangoFcFont;
typedef struct _PangoFcFontClass PangoFcFontClass;
-
PANGO_AVAILABLE_IN_ALL
GType pango_fc_font_get_type (void) G_GNUC_CONST;
PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
-FT_Face pango_fc_font_lock_face (PangoFcFont *font);
+gpointer pango_fc_font_lock_face (PangoFcFont *font);
PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
void pango_fc_font_unlock_face (PangoFcFont *font);