diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 20:36:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 17:28:40 -0400 |
commit | d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd (patch) | |
tree | 8d79daeb8f4254e319fede8bcc970f80cec83a2a /pango/pangoxft.h | |
parent | 5112387e2c5d4e298d5781070b2f0749a2f7f005 (diff) | |
download | pango-d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd.tar.gz |
Header cleanup
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r-- | pango/pangoxft.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h index 744fce0d..d02624f3 100644 --- a/pango/pangoxft.h +++ b/pango/pangoxft.h @@ -109,12 +109,12 @@ GType pango_xft_font_get_type (void) G_GNUC_CONST; /* For shape engines */ -#ifdef PANGO_ENABLE_ENGINE -PANGO_AVAILABLE_IN_ALL +#ifndef PANGO_DISABLE_DEPRECATED + +PANGO_DEPRECATED XftFont * pango_xft_font_get_font (PangoFont *font); -PANGO_AVAILABLE_IN_ALL +PANGO_DEPRECATED Display * pango_xft_font_get_display (PangoFont *font); -#ifndef PANGO_DISABLE_DEPRECATED PANGO_DEPRECATED_FOR(pango_fc_font_lock_face) FT_Face pango_xft_font_lock_face (PangoFont *font); PANGO_DEPRECATED_FOR(pango_fc_font_unlock_face) @@ -129,7 +129,6 @@ PANGO_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH) PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font, gunichar wc); #endif /* PANGO_DISABLE_DEPRECATED */ -#endif /* PANGO_ENABLE_ENGINE */ G_END_DECLS |