Re: [Vala] KeyFile bug or doc error
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- Cc: vala-list gnome org
- Subject: Re: [Vala] KeyFile bug or doc error
- Date: Thu, 18 Feb 2010 09:56:07 +0100
Hello,
2010/2/18, Nor Jaidi Tuah <norjaidi tuah ubd edu bn>:
valac version: 0.7.10
The interface in KeyFile class (in glib-2.0.vapi):
public string get_locale_string (string group_name, string key,
string locale) throws KeyFileError
The documentation
http://references.valadoc.org/glib-2.0/GLib.KeyFile.get_locale_string.html says:
If locale is null then the current locale is assumed.
Should the vapi declares "string? locale" (nullable)?
Or, should the doc be corrected?
Whenever the doc and the bindings disagree, the doc is correct.
(especially if the doc is for a well-known library, an error is
rapidly corrected).
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]