Hello,

2010/2/18, Nor Jaidi Tuah <[email protected]>:
> 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
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to