diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-31 13:05:31 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-31 14:53:09 -0400 |
commit | 3555527ce39359e19594fc23c825e17f483f824e (patch) | |
tree | a566f37307ffc4ae0763c92372a8990f706fa0a7 /pango/pango-font-private.h | |
parent | dce36bab102d2630c4406f134556afb59b5d04a2 (diff) | |
download | pango-3555527ce39359e19594fc23c825e17f483f824e.tar.gz |
Add pango_font_get_languages
Start using private vfuncs for PangoFont, and use it
to replace the recently introduced pango_fc_font_get_languages
with a frontend api.
Diffstat (limited to 'pango/pango-font-private.h')
-rw-r--r-- | pango/pango-font-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-font-private.h b/pango/pango-font-private.h index befa1b94..54de2c01 100644 --- a/pango/pango-font-private.h +++ b/pango/pango-font-private.h @@ -33,6 +33,10 @@ G_BEGIN_DECLS PANGO_AVAILABLE_IN_ALL PangoFontMetrics *pango_font_metrics_new (void); +typedef struct { + PangoLanguage ** (* get_languages) (PangoFont *font); +} PangoFontClassPrivate; + G_END_DECLS #endif /* __PANGO_FONT_PRIVATE_H__ */ |