[pango/misc-speedups2: 3/3] bidi: Add some deprecation notices




commit f29436d34a8d22b3dd7dbfa2d3c5c2b52a50ee82
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 29 12:24:50 2021 -0400

    bidi: Add some deprecation notices
    
    Just reshuffling existing docs.

 pango/pango-bidi-type.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index b86affba..01da86d3 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -273,8 +273,8 @@ resolved:
  *
  * This function is useful to categorize characters into left-to-right
  * letters, right-to-left letters, and everything else. If full Unicode
- * bidirectional type of a character is needed, [type_func@Pango.BidiType.for_unichar]
- * can be used instead.
+ * bidirectional type of a character is needed,
+ * [type_func@Pango.BidiType.for_unichar] can be used instead.
  *
  * Return value: the direction of the character.
  */
@@ -305,12 +305,12 @@ pango_unichar_direction (gunichar ch)
  *
  * Mirror characters are determined by the Unicode mirrored property.
  *
- * Use g_unichar_get_mirror_char() instead; the docs for that function
- * provide full details.
- *
  * Return value: %TRUE if @ch has a mirrored character and @mirrored_ch is
  * filled in, %FALSE otherwise
- **/
+ *
+ * Deprecated: Use g_unichar_get_mirror_char() instead; the docs for that function
+ * provide full details.
+ */
 gboolean
 pango_get_mirror_char (gunichar  ch,
                       gunichar *mirrored_ch)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]