From: Evan Nemerson Date: Thu, 25 Feb 2010 07:41:21 +0000 (-0800) Subject: glib-2.0: locale arguments to KeyFile methods should be nullable X-Git-Tag: 0.8.0~247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b02878dd74fc120c8d96afdeb2cbcf73c7f73f6c;p=thirdparty%2Fvala.git glib-2.0: locale arguments to KeyFile methods should be nullable Fixes bug 609145. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 86136c28d..2a2ed0fb5 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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")]