From: Luca Bruno Date: Sun, 21 Jun 2015 11:03:49 +0000 (+0200) Subject: gio-2.0: cleanup, unhide Subprocess.new X-Git-Tag: 0.29.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92215adbdf582baa53fb31c862f853708fbeea8d;p=thirdparty%2Fvala.git gio-2.0: cleanup, unhide Subprocess.new --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 5cf053095..10971c4f4 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -2174,7 +2174,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_get_type ()")] public class Subprocess : GLib.Object, GLib.Initable { [CCode (has_construct_function = false)] - protected Subprocess (); + public Subprocess (GLib.SubprocessFlags flags, ...) 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; diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 052027ce7..eaa65acfb 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -205,9 +205,10 @@ SocketListener .accept*.source_object#parameter default=null 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 + .new skip=false throws="GLib.Error" + .new.error skip + .new.argv0 skip .communicate*.cancellable#parameter default=() TlsDatabase .create_certificate_handle nullable @@ -329,10 +330,6 @@ initable_* skip FileAttributeInfoList .lookup nullable -// Bug #561619: fields -StaticResource - .resource unowned=false - // Bug #: virtual vs. abstract Icon .serialize#virtual_method virtual @@ -379,9 +376,6 @@ FileAttributeInfoList .infos array array_length_field="n_infos" unowned=false LoadableIcon .load_finish.type out nullable unowned=false default=null -StaticResource - .data array array_length_field="data_len" - .padding skip Task .get_source_object type="GLib.Object" TlsBackend