]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix g_key_file_to_data binding
authorRyan Lortie <desrt@desrt.ca>
Thu, 7 May 2009 13:54:33 +0000 (15:54 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 7 May 2009 13:54:33 +0000 (15:54 +0200)
Fixes bug 580348.

vapi/glib-2.0.vapi

index b19118edfb73f404da22112d64de7138cfc31c4c..e0cea2f97f68d5dbea3729f2464f5378f001a8a4 100644 (file)
@@ -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 ();