summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-04-09 08:26:49 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-04-09 08:26:49 +0200
commit2d38e163942de09ab1665f451fa83ecd3f30495a (patch)
treeb20a0fa9f31f8f835ba1255d62111037de4a3ec0
parent1ccb82ca76798709d0186f7cd6d3e76ea89acf0a (diff)
downloadvala-2d38e163942de09ab1665f451fa83ecd3f30495a.tar.gz
glib-2.0: Add Intl.get_language_names_with_category()
-rw-r--r--vapi/glib-2.0.vapi3
1 files changed, 3 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 823d817c2..4c9dfa7ae 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -5315,6 +5315,9 @@ namespace GLib {
[Version (since = "2.6")]
[CCode (cname = "g_get_language_names", array_length = false, array_null_terminated = true)]
public static unowned string[] get_language_names ();
+ [Version (since = "2.58")]
+ [CCode (cname = "g_get_language_names_with_category", array_length = false, array_null_terminated = true)]
+ public static unowned string[] get_language_names_with_category (string category_name);
[Version (since = "2.4")]
[CCode (cname = "g_strip_context", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string strip_context (string msgid, string msgval);