summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 23:20:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 12:47:53 -0700
commitdbd32b0c1ea5829c7ba9b4ed58451840ee896916 (patch)
tree1f8c2a95051c0efbe82042cacd4552e79b5af819 /pango
parent2b3e2ba724667b457ab7024a6546d84111329f69 (diff)
downloadpango-dbd32b0c1ea5829c7ba9b4ed58451840ee896916.tar.gz
fc: Deprecate FT_Face getters
We are moving away from a freetype dependency, so these will be going away at some point.
Diffstat (limited to 'pango')
-rw-r--r--pango/pangofc-font.c2
-rw-r--r--pango/pangofc-font.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index 2eba92b6..291c87c5 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -596,6 +596,7 @@ pango_fc_font_real_get_glyph (PangoFcFont *font,
* Return value: the FreeType <type>FT_Face</type> associated with @font.
*
* Since: 1.4
+ * Deprecated: 1.44: Use pango_font_get_hb_font() instead
**/
FT_Face
pango_fc_font_lock_face (PangoFcFont *font)
@@ -613,6 +614,7 @@ pango_fc_font_lock_face (PangoFcFont *font)
* pango_fc_font_lock_face().
*
* Since: 1.4
+ * Deprecated: 1.44: Use pango_font_get_hb_font() instead
**/
void
pango_fc_font_unlock_face (PangoFcFont *font)
diff --git a/pango/pangofc-font.h b/pango/pangofc-font.h
index 38d86fa9..5d04088e 100644
--- a/pango/pangofc-font.h
+++ b/pango/pangofc-font.h
@@ -51,9 +51,9 @@ typedef struct _PangoFcFontClass PangoFcFontClass;
PANGO_AVAILABLE_IN_ALL
GType pango_fc_font_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_4
+PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
FT_Face pango_fc_font_lock_face (PangoFcFont *font);
-PANGO_AVAILABLE_IN_1_4
+PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
void pango_fc_font_unlock_face (PangoFcFont *font);
G_END_DECLS