summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 23:55:10 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 23:55:10 -0400
commitd1bdc05b4ffc85ee0ed0427955128225dadab132 (patch)
tree02ca0d3009fac3f3843c8556b348df80886917fd /pango
parent0ae5be87e072e984078c9ad7e1ad30cebd1bd5d1 (diff)
downloadpango-d1bdc05b4ffc85ee0ed0427955128225dadab132.tar.gz
Deprecate pango_fc_font_has_char
We have pango_font_has_char now.
Diffstat (limited to 'pango')
-rw-r--r--pango/pangofc-font-private.h4
-rw-r--r--pango/pangofc-font.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/pango/pangofc-font-private.h b/pango/pangofc-font-private.h
index 3e85413b..07b088b3 100644
--- a/pango/pangofc-font-private.h
+++ b/pango/pangofc-font-private.h
@@ -128,20 +128,18 @@ struct _PangoFcFontClass
};
-PANGO_AVAILABLE_IN_1_4
+PANGO_DEPRECATED_IN_1_44
gboolean pango_fc_font_has_char (PangoFcFont *font,
gunichar wc);
PANGO_AVAILABLE_IN_1_4
guint pango_fc_font_get_glyph (PangoFcFont *font,
gunichar wc);
-#ifndef PANGO_DISABLE_DEPRECATED
PANGO_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
PangoGlyph pango_fc_font_get_unknown_glyph (PangoFcFont *font,
gunichar wc);
PANGO_DEPRECATED_IN_1_32
void pango_fc_font_kern_glyphs (PangoFcFont *font,
PangoGlyphString *glyphs);
-#endif /* PANGO_DISABLE_DEPRECATED */
G_END_DECLS
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index 335cde42..5a1c30be 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -753,6 +753,7 @@ pango_fc_font_unlock_face (PangoFcFont *font)
* Return value: %TRUE if @font has the requested codepoint.
*
* Since: 1.4
+ * Deprecated: 1.44: Use pango_font_has_char()
**/
gboolean
pango_fc_font_has_char (PangoFcFont *font,