summaryrefslogtreecommitdiff
path: root/pango/pangoxft.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/pangoxft.h
parentb1411194d196471fad7984a73044a3c19e7d884d (diff)
downloadpango-79baf68b39e7654f8f00c60c8a86ef6054a391dc.tar.gz
single function type for FC substitute callback
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r--pango/pangoxft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h
index f14b89c9..95898f80 100644
--- a/pango/pangoxft.h
+++ b/pango/pangoxft.h
@@ -23,6 +23,7 @@
#ifndef __PANGOXFT_H__
#define __PANGOXFT_H__
+#include <pango/pangofc-fontmap.h>
#include <pango/pango-context.h>
#include <pango/pango-ot.h>
#include <pango/pangofc-font.h>
@@ -84,8 +85,7 @@ typedef struct _PangoXftFont PangoXftFont;
*
* Function type for doing final config tweaking on prepared FcPatterns.
*/
-typedef void (*PangoXftSubstituteFunc) (FcPattern *pattern,
- gpointer data);
+typedef PangoFcSubstituteFunc PangoXftSubstituteFunc;
/* Calls for applications
*/