[vala] glib-2.0: add binding for g_get_language_names()



commit 66402c4b5ab4350d7b5ae4e737a4460be199449e
Author: Mark Lee <marklee src gnome org>
Date:   Sat Sep 26 12:27:14 2009 -0700

    glib-2.0: add binding for g_get_language_names()
    
    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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 4894406..615e215 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]