]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add binding for g_get_language_names()
authorMark Lee <marklee@src.gnome.org>
Sat, 26 Sep 2009 19:27:14 +0000 (12:27 -0700)
committerJaap A. Haitsma <jaap@haitsma.org>
Sat, 26 Sep 2009 22:51:40 +0000 (00:51 +0200)
Adding to the Intl namespace, as its documentation is listed in the
"Internationalization" section of the GLib docs.

Fixes GNOME bug #596456.

vapi/glib-2.0.vapi

index 489440607aae7ba5b1190fdf29ab8aeddd04945a..615e215c4342c57d21f3b44e95dfb8b680b6e668 100644 (file)
@@ -3498,6 +3498,8 @@ namespace GLib {
                public static weak string? textdomain (string? domainname);
                [CCode (cname = "bind_textdomain_codeset", cheader_filename = "glib/gi18n-lib.h")]
                public static weak string? bind_textdomain_codeset (string domainname, string? codeset);
+               [CCode (cname = "g_get_language_names", array_length = false, array_null_terminated = true)]
+               public static weak string[] get_language_names ();
        }
 
        [Compact]