[pango/deprecate-pango-script] Deprecate pango_script_for_unichar
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/deprecate-pango-script] Deprecate pango_script_for_unichar
- Date: Mon, 27 May 2019 14:41:53 +0000 (UTC)
commit e61458ab6c2f298a959eae2421ae23da6d15d8a3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 27 14:31:09 2019 +0000
Deprecate pango_script_for_unichar
pango/pango-script.c | 1 +
pango/pango-script.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-script.c b/pango/pango-script.c
index 4faf2b91..05cfbe29 100644
--- a/pango/pango-script.c
+++ b/pango/pango-script.c
@@ -86,6 +86,7 @@
* Return value: the #PangoScript for the character.
*
* Since: 1.4
+ * Deprecated: 1.44. Use g_unichar_get_script()
**/
PangoScript
pango_script_for_unichar (gunichar ch)
diff --git a/pango/pango-script.h b/pango/pango-script.h
index cce4e4d1..a5c2b497 100644
--- a/pango/pango-script.h
+++ b/pango/pango-script.h
@@ -306,7 +306,7 @@ typedef enum { /* ISO 15924 code */
#include <pango/pango-version-macros.h>
-PANGO_AVAILABLE_IN_1_4
+PANGO_DEPRECATED_IN_1_44_FOR(g_unichar_get_script)
PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
PANGO_AVAILABLE_IN_1_4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]