[vala] gio-2.0: Fix default-value warnings of Subprocess.communicate*



commit b25b1d29f32513eab04acb56d1e63d30d192833f
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Wed Oct 30 12:32:59 2013 +0100

    gio-2.0: Fix default-value warnings of Subprocess.communicate*

 vapi/gio-2.0.vapi              |    8 ++++----
 vapi/metadata/Gio-2.0.metadata |    2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 100d5c0..50384fd 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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 ();
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 3ee2d96..3ae5ae2 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]