summaryrefslogtreecommitdiff
path: root/pango/pangoxft.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-06-06 23:44:26 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-06-29 17:32:00 +0800
commitce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch)
tree7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pangoxft.h
parent57964efb280369db2731bfc070f3e73c9a860d18 (diff)
downloadpango-ce097c062ea079bf7888d2b2f1f7b17d34f976b6.tar.gz
Decorate the symbols in the headers with version macros
From the last commit, decorate all the symbols with the version macros. Also add the version macros in the docs. https://bugzilla.gnome.org/show_bug.cgi?id=767587
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r--pango/pangoxft.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h
index da0c3315..744fce0d 100644
--- a/pango/pangoxft.h
+++ b/pango/pangoxft.h
@@ -74,49 +74,58 @@ typedef void (*PangoXftSubstituteFunc) (FcPattern *pattern,
/* Calls for applications
*/
+PANGO_AVAILABLE_IN_1_2
PangoFontMap *pango_xft_get_font_map (Display *display,
int screen);
#ifndef PANGO_DISABLE_DEPRECATED
+PANGO_DEPRECATED
PangoContext *pango_xft_get_context (Display *display,
int screen);
#endif
+PANGO_AVAILABLE_IN_1_2
void pango_xft_shutdown_display (Display *display,
int screen);
+PANGO_AVAILABLE_IN_1_2
void pango_xft_set_default_substitute (Display *display,
int screen,
PangoXftSubstituteFunc func,
gpointer data,
GDestroyNotify notify);
+PANGO_AVAILABLE_IN_1_2
void pango_xft_substitute_changed (Display *display,
int screen);
+PANGO_AVAILABLE_IN_ALL
GType pango_xft_font_map_get_type (void) G_GNUC_CONST;
#define PANGO_XFT_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_XFT_FONT, PangoXftFont))
#define PANGO_TYPE_XFT_FONT (pango_xft_font_get_type ())
#define PANGO_XFT_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_XFT_FONT))
+PANGO_AVAILABLE_IN_ALL
GType pango_xft_font_get_type (void) G_GNUC_CONST;
/* For shape engines
*/
#ifdef PANGO_ENABLE_ENGINE
+PANGO_AVAILABLE_IN_ALL
XftFont * pango_xft_font_get_font (PangoFont *font);
+PANGO_AVAILABLE_IN_ALL
Display * pango_xft_font_get_display (PangoFont *font);
#ifndef PANGO_DISABLE_DEPRECATED
-G_DEPRECATED_FOR(pango_fc_font_lock_face)
+PANGO_DEPRECATED_FOR(pango_fc_font_lock_face)
FT_Face pango_xft_font_lock_face (PangoFont *font);
-G_DEPRECATED_FOR(pango_fc_font_unlock_face)
+PANGO_DEPRECATED_FOR(pango_fc_font_unlock_face)
void pango_xft_font_unlock_face (PangoFont *font);
-G_DEPRECATED_FOR(pango_fc_font_get_glyph)
+PANGO_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)
+PANGO_DEPRECATED_FOR(pango_fc_font_has_char)
gboolean pango_xft_font_has_char (PangoFont *font,
gunichar wc);
-G_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
+PANGO_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font,
gunichar wc);
#endif /* PANGO_DISABLE_DEPRECATED */