]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: locale arguments to KeyFile methods should be nullable
authorEvan Nemerson <evan@coeus-group.com>
Thu, 25 Feb 2010 07:41:21 +0000 (23:41 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 25 Feb 2010 07:41:21 +0000 (23:41 -0800)
Fixes bug 609145.

vapi/glib-2.0.vapi

index 86136c28db45f78e08f4f4a27e5bcbb8706de3cf..2a2ed0fb5a728dd43fc88c8a5f26db7b5338bec8 100644 (file)
@@ -2930,14 +2930,14 @@ namespace GLib {
                public bool has_key (string group_name, string key) throws KeyFileError;
                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) throws KeyFileError;
+               public string get_locale_string (string group_name, string key, string? locale = null) throws KeyFileError;
                public bool get_boolean (string group_name, string key) throws KeyFileError;
                public int get_integer (string group_name, string key) throws KeyFileError;
                public double get_double (string group_name, string key) throws KeyFileError;
                [CCode (array_length_type = "gsize")]
                public string[] get_string_list (string group_name, string key) throws KeyFileError;
                [CCode (array_length_type = "gsize")]
-               public string[] get_locale_string_list (string group_name, string key, string locale) throws KeyFileError;
+               public string[] get_locale_string_list (string group_name, string key, string? locale = null) throws KeyFileError;
                [CCode (array_length_type = "gsize")]
                public bool[] get_boolean_list (string group_name, string key) throws KeyFileError;
                [CCode (array_length_type = "gsize")]