Re: return value obsolete(?) from Glib::KeyFile::load_from_file
- From: Murray Cumming <murrayc murrayc com>
- To: robikarmann <robi k gmx ch>
- Cc: gtkmm-list gnome org
- Subject: Re: return value obsolete(?) from Glib::KeyFile::load_from_file
- Date: Sun, 21 Mar 2010 11:34:51 +0100
On Sun, 2010-03-21 at 10:33 +0100, robikarmann wrote:
> I'm new to *mm but I think the return value of Glib::KeyFile::load_from_file will never be false.
>
> I may have forgotten a case but exceptions are thrown if:
> - File access is denied.
> - File is accessible but not a valid KeyFile.
>
> In both cases the return value will not be written and stay what it was before even if catching the exception.
>
> Reference: http://library.gnome.org/devel/glibmm/stable/classGlib_1_1KeyFile.html#a8e5a625d648c0e84b0bf4a8cbf6d68cc
Yes, we have a few small mistakes like this.
If you file a bug then we can remember to fix them in a future
ABI-breaking gtkmm 3.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]