From 79baf68b39e7654f8f00c60c8a86ef6054a391dc Mon Sep 17 00:00:00 2001 From: Caleb Hearon Date: Sun, 31 May 2020 17:51:06 +0000 Subject: single function type for FC substitute callback --- pango/pangoft2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pango/pangoft2.h') 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 #include FT_FREETYPE_H +#include #include #include @@ -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 */ -- cgit v1.2.1