summaryrefslogtreecommitdiff
path: root/pango/pangofc-font.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-06 12:56:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-06 12:56:02 -0400
commit5af6340eef9833f0f8e878939e88d98b11813578 (patch)
tree8ff5a1b362c8f13b58b04bd1cb34e13f0d3edabc /pango/pangofc-font.c
parent22dfeef4a26984ba81c6ff30117017dac372b706 (diff)
downloadpango-5af6340eef9833f0f8e878939e88d98b11813578.tar.gz
Reinstate the return type of pango_fc_font_lock_face()
We did not remove the freetype dependency from libpango anyway, so bite the bullet, and keep including freetype headers. Changing the return type to gpointer broke C++ users, where casts from void* are not automatic.
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r--pango/pangofc-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index bc0fa31a..98e77288 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -545,7 +545,7 @@ pango_fc_font_real_get_glyph (PangoFcFont *font,
* Since: 1.4
* Deprecated: 1.44: Use pango_font_get_hb_font() instead
**/
-gpointer
+FT_Face
pango_fc_font_lock_face (PangoFcFont *font)
{
g_return_val_if_fail (PANGO_IS_FC_FONT (font), NULL);