From b7b0f74b98b1279a86efe05e6b21f2c2f7fc0d14 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Nov 2018 15:59:55 -0500 Subject: Deprecate bidi apis We agreed that people should just use fribidi for this information. --- pango/pango-bidi-type.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pango/pango-bidi-type.h b/pango/pango-bidi-type.h index db0c1e0a..897e25e3 100644 --- a/pango/pango-bidi-type.h +++ b/pango/pango-bidi-type.h @@ -27,6 +27,7 @@ #include G_BEGIN_DECLS +#ifndef PANGO_DISABLE_DEPRECATED /** * PangoBidiType: * @PANGO_BIDI_TYPE_L: Left-to-Right @@ -54,6 +55,7 @@ G_BEGIN_DECLS * Unicode bidirectional algorithm. * * Since: 1.22 + * Deprecated: 1.44: Use fribidi for this information **/ typedef enum { /* Strong types */ @@ -82,7 +84,7 @@ typedef enum { PANGO_BIDI_TYPE_ON } PangoBidiType; -PANGO_AVAILABLE_IN_1_22 +PANGO_DEPRECATED_IN_1_44 PangoBidiType pango_bidi_type_for_unichar (gunichar ch) G_GNUC_CONST; /** @@ -112,6 +114,8 @@ PangoBidiType pango_bidi_type_for_unichar (gunichar ch) G_GNUC_CONST; * enumeration as the writing direction of a block of * text and are no longer used; See #PangoGravity for how * vertical text is handled in Pango. + * + * Deprecated: 1.44: Use fribidi for this information **/ typedef enum { PANGO_DIRECTION_LTR, @@ -123,13 +127,12 @@ typedef enum { PANGO_DIRECTION_NEUTRAL } PangoDirection; -PANGO_AVAILABLE_IN_ALL +PANGO_DEPRECATED_IN_1_44 PangoDirection pango_unichar_direction (gunichar ch) G_GNUC_CONST; -PANGO_AVAILABLE_IN_1_4 +PANGO_DEPRECATED_IN_1_44 PangoDirection pango_find_base_dir (const gchar *text, gint length); -#ifndef PANGO_DISABLE_DEPRECATED PANGO_DEPRECATED_FOR(g_unichar_get_mirror_char) gboolean pango_get_mirror_char (gunichar ch, gunichar *mirrored_ch); -- cgit v1.2.1