summaryrefslogtreecommitdiff
path: root/pango/pangoxft.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-12 18:33:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-13 13:52:08 -0400
commit0e091322c494b1523617ca7488ea22e58f8a2c13 (patch)
tree394ed6a355c52ed4e9e19683eb3537ef26cae307 /pango/pangoxft.h
parentc403250103234ad09cd90e3e8a9ea838ce82d72e (diff)
downloadpango-0e091322c494b1523617ca7488ea22e58f8a2c13.tar.gz
Add deprecation attributes to deprecated functions
This is using the newly introduce G_DEPRECATED macros from GLib. Traditional deprecation guards are still in place. https://bugzilla.gnome.org/show_bug.cgi?id=661612
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r--pango/pangoxft.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h
index 177bf974..c5c7501c 100644
--- a/pango/pangoxft.h
+++ b/pango/pangoxft.h
@@ -80,12 +80,17 @@ GType pango_xft_font_get_type (void) G_GNUC_CONST;
XftFont * pango_xft_font_get_font (PangoFont *font);
Display * pango_xft_font_get_display (PangoFont *font);
#ifndef PANGO_DISABLE_DEPRECATED
+G_DEPRECATED_FOR(pango_fc_font_lock_face)
FT_Face pango_xft_font_lock_face (PangoFont *font);
+G_DEPRECATED_FOR(pango_fc_font_unlock_face)
void pango_xft_font_unlock_face (PangoFont *font);
+G_DEPRECATED_FOR(pango_fc_font_get_glyph)
guint pango_xft_font_get_glyph (PangoFont *font,
gunichar wc);
+G_DEPRECATED_FOR(pango_fc_font_has_char)
gboolean pango_xft_font_has_char (PangoFont *font,
gunichar wc);
+G_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font,
gunichar wc);
#endif /* PANGO_DISABLE_DEPRECATED */