[pango/matthiasc/for-main] Specify deprecation details
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-main] Specify deprecation details
- Date: Mon, 9 Aug 2021 00:28:21 +0000 (UTC)
commit 1bae78ce75086b0835ee3d907e5bde5ab8778199
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 8 20:15:33 2021 -0400
Specify deprecation details
Unversioned deprecations come out odd in
gi-docgen. Add a version to avoid that.
pango/pango-bidi-type.c | 2 +-
pango/pango-bidi-type.h | 2 +-
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 485c0a22..dbca4683 100644
--- a/pango/pango-bidi-type.h
+++ b/pango/pango-bidi-type.h
@@ -107,7 +107,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]