From: Rico Tzschichholz Date: Wed, 30 Oct 2013 11:32:59 +0000 (+0100) Subject: gio-2.0: Fix default-value warnings of Subprocess.communicate* X-Git-Tag: 0.23.1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25b1d29f32513eab04acb56d1e63d30d192833f;p=thirdparty%2Fvala.git gio-2.0: Fix default-value warnings of Subprocess.communicate* --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 100d5c0fd..50384fdb0 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 3ee2d969d..3ae5ae295 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