summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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