[vala] glib-2.0: Fix g_key_file_load_from_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Fix g_key_file_load_from_* bindings
- Date: Mon, 1 Jun 2009 04:32:36 -0400 (EDT)
commit dec60546c7d6a794a3090da58ab361ab5ee9d448
Author: Å?ukasz Pankowski <lukpank o2 pl>
Date: Mon Jun 1 10:31:20 2009 +0200
glib-2.0: Fix g_key_file_load_from_* bindings
KeyFile.load_from_file, load_from_dirs and load_from_data_dirs may
also throw FileError in addition to KeyFileError. Fixes bug 582517.
---
vapi/glib-2.0.vapi | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index f80fa5b..56e8839 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2735,10 +2735,10 @@ namespace GLib {
public class KeyFile {
public KeyFile ();
public void set_list_separator (char separator);
- public bool load_from_file (string file, KeyFileFlags @flags) throws KeyFileError;
- public bool load_from_dirs (string file, [CCode (array_length = false, array_null_terminated = true)] string[] search_dirs, out string full_path, KeyFileFlags @flags) throws KeyFileError;
+ public bool load_from_file (string file, KeyFileFlags @flags) throws KeyFileError, FileError;
+ public bool load_from_dirs (string file, [CCode (array_length = false, array_null_terminated = true)] string[] search_dirs, out string full_path, KeyFileFlags @flags) throws KeyFileError, FileError;
public bool load_from_data (string data, ulong length, KeyFileFlags @flags) throws KeyFileError;
- public bool load_from_data_dirs (string file, out string full_path, KeyFileFlags @flags) throws KeyFileError;
+ public bool load_from_data_dirs (string file, out string full_path, KeyFileFlags @flags) throws KeyFileError, FileError;
// g_key_file_to_data never throws an error according to the documentation
public string to_data (out size_t length = null, out GLib.Error error = null);
public string get_start_group ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]