]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add KeyFile.get_locale_for_key()
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Feb 2018 16:43:51 +0000 (17:43 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Feb 2018 16:43:51 +0000 (17:43 +0100)
vapi/glib-2.0.vapi

index bb157f8c2f802dafcebea2728a019634d31bdeff..e6732c50c773e1f6e8521391ec3526937ba53adb 100644 (file)
@@ -4134,6 +4134,8 @@ namespace GLib {
                public string get_value (string group_name, string key) throws KeyFileError;
                public string get_string (string group_name, string key) throws KeyFileError;
                public string get_locale_string (string group_name, string key, string? locale = null) throws KeyFileError;
+               [Version (since = "2.56")]
+               public string? get_locale_for_key (string group_name, string key, string? locale = null);
                public bool get_boolean (string group_name, string key) throws KeyFileError;
                public int get_integer (string group_name, string key) throws KeyFileError;
                [Version (since = "2.26")]