summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-13 23:15:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 19:52:36 -0400
commita582dbbb60da8aff7574d576cc636799e89c72d8 (patch)
tree9091d5652eafbf00bd15a8cd62d3027a9880740f /pango/pango-fontmap.h
parent40a805478dfa8988315fd8b7f8515af65c3f90c7 (diff)
downloadpango-a582dbbb60da8aff7574d576cc636799e89c72d8.tar.gz
Add pango_font_get_face
Since we've run out of slots in PangoFontClass, this is implemented with a vfunc in PangoFontMapClass.
Diffstat (limited to 'pango/pango-fontmap.h')
-rw-r--r--pango/pango-fontmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/pango/pango-fontmap.h b/pango/pango-fontmap.h
index 42ffc2ff..f30780ee 100644
--- a/pango/pango-fontmap.h
+++ b/pango/pango-fontmap.h
@@ -117,10 +117,8 @@ struct _PangoFontMapClass
PangoFontFamily * (*get_family) (PangoFontMap *fontmap,
const char *name);
- /*< private >*/
-
- /* Padding for future expansion */
- void (*_pango_reserved1) (void);
+ PangoFontFace * (*get_face) (PangoFontMap *fontmap,
+ PangoFont *font);
};
PANGO_AVAILABLE_IN_ALL