summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-08 20:15:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-11 18:55:22 -0700
commitc11b20384a079891e91a88eaad64d312353f1589 (patch)
tree77cd9f0829e34cdb3bd4d8a132965f7220e0da09
parent304f6f06ae3b2c40bf63d691a1b0169f10afd4e0 (diff)
downloadpango-c11b20384a079891e91a88eaad64d312353f1589.tar.gz
Specify deprecation details
Unversioned deprecations come out odd in gi-docgen. Add a version to avoid that.
-rw-r--r--pango/pango-bidi-type.c2
-rw-r--r--pango/pango-bidi-type.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index a5a13a9a..f978d8e5 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -309,7 +309,7 @@ pango_unichar_direction (gunichar ch)
* 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
+ * Deprecated: 1.30: Use g_unichar_get_mirror_char() instead; the docs for that function
* provide full details.
*/
gboolean
diff --git a/pango/pango-bidi-type.h b/pango/pango-bidi-type.h
index a1fd0c69..031c3e4a 100644
--- a/pango/pango-bidi-type.h
+++ b/pango/pango-bidi-type.h
@@ -105,7 +105,7 @@ PANGO_DEPRECATED_IN_1_44
PangoDirection pango_find_base_dir (const gchar *text,
gint length);
-PANGO_DEPRECATED_FOR(g_unichar_get_mirror_char)
+PANGO_DEPRECATED_IN_1_30_FOR(g_unichar_get_mirror_char)
gboolean pango_get_mirror_char (gunichar ch,
gunichar *mirrored_ch);
#endif