]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: cleanup, unhide Subprocess.new
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 21 Jun 2015 11:03:49 +0000 (13:03 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 21 Jun 2015 11:03:49 +0000 (13:03 +0200)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 5cf0530959ee5df9e110e047e806edb82a4421e9..10971c4f40957ff624f79424e308ba2087616b5f 100644 (file)
@@ -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;
index 052027ce7fb13f5b083e0ade667471c088d58340..eaa65acfb756791152864ed713db0dc4525bdc9f 100644 (file)
@@ -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