summaryrefslogtreecommitdiff
path: root/pango/pango-ot.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-04-14 18:15:03 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-06-08 17:07:01 +0100
commit6d90ae0ce23b4ebf25f63d6b1a4f209b49753f22 (patch)
tree03fe80b6f9bebdf75f45251b7dca464edac3a820 /pango/pango-ot.h
parent5bd63ea4ebb2bb8d9fd0fd03211b33ecc573764c (diff)
downloadpango-6d90ae0ce23b4ebf25f63d6b1a4f209b49753f22.tar.gz
Add missing GType for PangoOT deprecated types
This way consumers of the deprecated API can get appropriate memory management for a couple of boxed types.
Diffstat (limited to 'pango/pango-ot.h')
-rw-r--r--pango/pango-ot.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pango/pango-ot.h b/pango/pango-ot.h
index 501ca8b6..2c9f42d5 100644
--- a/pango/pango-ot.h
+++ b/pango/pango-ot.h
@@ -300,6 +300,11 @@ PangoOTTag *pango_ot_info_list_features (PangoOTInfo *info,
guint script_index,
guint language_index);
+#define PANGO_TYPE_OT_BUFFER (pango_ot_buffer_get_type())
+
+PANGO_DEPRECATED
+GType pango_ot_buffer_get_type (void) G_GNUC_CONST;
+
PANGO_DEPRECATED
PangoOTBuffer *pango_ot_buffer_new (PangoFcFont *font);
PANGO_DEPRECATED
@@ -378,6 +383,11 @@ PangoLanguage *pango_ot_tag_to_language (PangoOTTag language_tag) G_GNUC_
PANGO_DEPRECATED
PangoOTTag pango_ot_tag_from_language (PangoLanguage *language) G_GNUC_CONST;
+#define PANGO_TYPE_OT_RULESET_DESCRIPTION (pango_ot_ruleset_description_get_type())
+
+PANGO_DEPRECATED
+GType pango_ot_ruleset_description_get_type (void) G_GNUC_CONST;
+
PANGO_DEPRECATED
guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc) G_GNUC_PURE;