[vala] gio-2.0: cleanup, unhide Subprocess.new



commit 92215adbdf582baa53fb31c862f853708fbeea8d
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Jun 21 13:03:49 2015 +0200

    gio-2.0: cleanup, unhide Subprocess.new

 vapi/gio-2.0.vapi              |    2 +-
 vapi/metadata/Gio-2.0.metadata |   12 +++---------
 2 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 5cf0530..10971c4 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 052027c..eaa65ac 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]