[vala] glib-2.0: Fix GLib.KeyFile.to_data binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Fix GLib.KeyFile.to_data binding
- Date: Mon, 25 May 2009 16:15:51 -0400 (EDT)
commit 13c20f25d6134f10b71b757c2242cf7c6842da9d
Author: Mark Lee <marklee src gnome org>
Date: Sat May 16 03:06:46 2009 -0700
glib-2.0: Fix GLib.KeyFile.to_data binding
g_keyfile_to_data should throw a KeyFileError instead of having an optional
out error parameter.
---
vapi/glib-2.0.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index ef447ba..008c028 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2738,7 +2738,7 @@ namespace GLib {
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_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 string to_data (out size_t length = null, out GLib.Error error = null);
+ public string to_data (out size_t length = null) throws KeyFileError;
public string get_start_group ();
[CCode (array_length_type = "gsize")]
public string[] get_groups ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]