]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix default-value warnings of Subprocess.communicate*
authorRico Tzschichholz <ricotz@t-online.de>
Wed, 30 Oct 2013 11:32:59 +0000 (12:32 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 30 Oct 2013 11:32:59 +0000 (12:32 +0100)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 100d5c0fd7948c607dcfce6e1ee75ae6dfdbbaa0..50384fdb0575da40d1436a31c09501a8f304b175 100644 (file)
@@ -2100,10 +2100,10 @@ namespace GLib {
        public class Subprocess : GLib.Object, GLib.Initable {
                [CCode (has_construct_function = false)]
                protected Subprocess ();
-               public bool communicate (GLib.Bytes stdin_buf, GLib.Cancellable? cancellable = null, out GLib.Bytes stdout_buf, out GLib.Bytes stderr_buf) throws GLib.Error;
-               public async bool communicate_async (GLib.Bytes stdin_buf, GLib.Cancellable? cancellable = null, out GLib.Bytes stdout_buf, out GLib.Bytes stderr_buf) throws GLib.Error;
-               public bool communicate_utf8 (string stdin_buf, GLib.Cancellable? cancellable = null, out string stdout_buf, out string stderr_buf) throws GLib.Error;
-               public async bool communicate_utf8_async (string stdin_buf, GLib.Cancellable? cancellable = null, out string stdout_buf, out string stderr_buf) throws GLib.Error;
+               public bool communicate (GLib.Bytes stdin_buf, GLib.Cancellable? cancellable, out GLib.Bytes stdout_buf, out GLib.Bytes stderr_buf) throws GLib.Error;
+               public async bool communicate_async (GLib.Bytes stdin_buf, GLib.Cancellable? cancellable, out GLib.Bytes stdout_buf, out GLib.Bytes stderr_buf) throws GLib.Error;
+               public bool communicate_utf8 (string stdin_buf, GLib.Cancellable? cancellable, out string stdout_buf, out string stderr_buf) throws GLib.Error;
+               public async bool communicate_utf8_async (string stdin_buf, GLib.Cancellable? cancellable, out string stdout_buf, out string stderr_buf) throws GLib.Error;
                public void force_exit ();
                public int get_exit_status ();
                public unowned string get_identifier ();
index 3ee2d969dbaebde587b5a7db75b7c4bbecfa7534..3ae5ae2951318fde66676003ffe7e26fa87c9b27 100644 (file)
@@ -194,6 +194,8 @@ srv_target_list_sort type_arguments="GLib.SrvTarget" skip=false
 srv_target_list_sort.targets type_arguments="GLib.SrvTarget" owned
 StaticResource
   .next type="StaticResource*"
+Subprocess
+  .communicate*.cancellable#parameter default=()
 TlsDatabase
   .create_certificate_handle nullable
 TlsPassword