From b25b1d29f32513eab04acb56d1e63d30d192833f Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 30 Oct 2013 12:32:59 +0100 Subject: [PATCH] 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 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 -- 2.47.2