[vala] glib-2.0: Fix g_key_file_to_data binding



commit 3aa93cafdc3d832197f8bf4bede1000d2023b5f4
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu May 7 15:54:33 2009 +0200

    glib-2.0: Fix g_key_file_to_data binding
    
    Fixes bug 580348.
---
 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 b19118e..e0cea2f 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) throws KeyFileError;
+		public string to_data (out size_t length = null, out GLib.Error error = null);
 		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]