[vala] glib-2.0: locale arguments to KeyFile methods should be nullable



commit b02878dd74fc120c8d96afdeb2cbcf73c7f73f6c
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Feb 24 23:41:21 2010 -0800

    glib-2.0: locale arguments to KeyFile methods should be nullable
    
    Fixes bug 609145.

 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 86136c2..2a2ed0f 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")]



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