summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@t-online.de>2013-10-30 12:32:59 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2013-10-30 12:32:59 +0100
commitb25b1d29f32513eab04acb56d1e63d30d192833f (patch)
tree47b7adb06d3ea92c33aee943bfe337074bceaa7b
parente90ddc1f5f26ef3f8c2947044b0010bc7c4d5191 (diff)
downloadvala-b25b1d29f32513eab04acb56d1e63d30d192833f.tar.gz
gio-2.0: Fix default-value warnings of Subprocess.communicate*
-rw-r--r--vapi/gio-2.0.vapi8
-rw-r--r--vapi/metadata/Gio-2.0.metadata2
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