summaryrefslogtreecommitdiff
path: root/pango/pangoft2.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangoft2.h')
-rw-r--r--pango/pangoft2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h
index 483bc366..2f45c9e3 100644
--- a/pango/pangoft2.h
+++ b/pango/pangoft2.h
@@ -28,6 +28,7 @@
#include <ft2build.h>
#include FT_FREETYPE_H
+#include <pango/pangofc-fontmap.h>
#include <pango/pango-layout.h>
#include <pango/pangofc-font.h>
@@ -66,8 +67,7 @@ typedef struct _PangoFT2FontMap PangoFT2FontMap;
*
* Function type for doing final config tweaking on prepared FcPatterns.
*/
-typedef void (*PangoFT2SubstituteFunc) (FcPattern *pattern,
- gpointer data);
+typedef PangoFcSubstituteFunc PangoFT2SubstituteFunc;
/* Calls for applications */