diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-27 14:31:09 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-27 14:41:28 +0000 |
commit | e61458ab6c2f298a959eae2421ae23da6d15d8a3 (patch) | |
tree | 58802870203eac72a56fb67fddd6c0d1ed0ba9d5 | |
parent | 6225eadd646b778968efa43915bb5a5fce9f34a0 (diff) | |
download | pango-e61458ab6c2f298a959eae2421ae23da6d15d8a3.tar.gz |
Deprecate pango_script_for_unichar
-rw-r--r-- | pango/pango-script.c | 1 | ||||
-rw-r--r-- | pango/pango-script.h | 2 |
2 files changed, 2 insertions, 1 deletions
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 |