return value obsolete(?) from Glib::KeyFile::load_from_file
- From: robikarmann <robi k gmx ch>
- To: gtkmm-list gnome org
- Subject: return value obsolete(?) from Glib::KeyFile::load_from_file
- Date: Sun, 21 Mar 2010 10:33:28 +0100
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.
] [Thread Prev