summaryrefslogtreecommitdiff
path: root/pango/pangoft2.h
diff options
context:
space:
mode:
authorCaleb Hearon <crh0872@gmail.com>2020-05-31 17:51:06 +0000
committerCaleb Hearon <crh0872@gmail.com>2020-06-13 03:29:35 +0000
commit79baf68b39e7654f8f00c60c8a86ef6054a391dc (patch)
tree177229d4e0668edd82c46f0cf778a435496b60da /pango/pangoft2.h
parentb1411194d196471fad7984a73044a3c19e7d884d (diff)
downloadpango-79baf68b39e7654f8f00c60c8a86ef6054a391dc.tar.gz
single function type for FC substitute callback
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 */