diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-05 19:33:07 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-05 19:33:07 +0000 |
commit | c26d87f5143087dfea77f1d0522df249286be150 (patch) | |
tree | 58d938bed152943cce50dc8cf4697dc573fd6ede | |
parent | c7e6f369079f60311cf241e8e05f4cd92f7c344b (diff) | |
parent | d770d498bff51ae0320fc0447cfcb1de53ea0a29 (diff) | |
download | pango-c26d87f5143087dfea77f1d0522df249286be150.tar.gz |
Merge branch 'wip/issue510' into 'master'
ft2, xft: Write out the full type of the SubstituteFunc
Closes #510
See merge request GNOME/pango!255
-rw-r--r-- | pango/pangoft2.h | 3 | ||||
-rw-r--r-- | pango/pangoxft.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h index 892aa039..96228316 100644 --- a/pango/pangoft2.h +++ b/pango/pangoft2.h @@ -67,7 +67,8 @@ typedef struct _PangoFT2FontMap PangoFT2FontMap; * * Function type for doing final config tweaking on prepared FcPatterns. */ -typedef PangoFcSubstituteFunc PangoFT2SubstituteFunc; +typedef void (*PangoFT2SubstituteFunc) (FcPattern *pattern, + gpointer data); /* Calls for applications */ diff --git a/pango/pangoxft.h b/pango/pangoxft.h index eb17f97c..0852c202 100644 --- a/pango/pangoxft.h +++ b/pango/pangoxft.h @@ -85,7 +85,8 @@ typedef struct _PangoXftFont PangoXftFont; * * Function type for doing final config tweaking on prepared FcPatterns. */ -typedef PangoFcSubstituteFunc PangoXftSubstituteFunc; +typedef void (*PangoXftSubstituteFunc) (FcPattern *pattern, + gpointer data); /* Calls for applications */ |