From b02878dd74fc120c8d96afdeb2cbcf73c7f73f6c Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Wed, 24 Feb 2010 23:41:21 -0800 Subject: [PATCH] glib-2.0: locale arguments to KeyFile methods should be nullable Fixes bug 609145. --- vapi/glib-2.0.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")] -- 2.47.3