[vala] vapi: Update GIR-based bindings



commit 81db97136a1025005e86ae453b6c9fd68795bc49
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jun 26 17:36:18 2016 +0200

    vapi: Update GIR-based bindings

 vapi/gio-2.0.vapi          |    9 ++++++++-
 vapi/packagekit-glib2.vapi |   10 ++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index a27a78a..a3504b4 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -421,7 +421,7 @@ namespace GLib {
                [Version (since = "2.28")]
                public string[] get_arguments ();
                [Version (since = "2.28")]
-               public unowned string get_cwd ();
+               public unowned string? get_cwd ();
                [CCode (array_length = false, array_null_terminated = true)]
                [Version (since = "2.28")]
                public unowned string[] get_environ ();
@@ -2945,6 +2945,10 @@ namespace GLib {
                [NoWrapper]
                public virtual bool local_file_set_attributes (string filename, GLib.FileInfo info, 
GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public virtual GLib.File parse_name (string parse_name);
+               [Version (since = "2.50")]
+               public bool register_uri_scheme (string scheme, [CCode (delegate_target_pos = 2.33333, 
destroy_notify_pos = 2.66667)] owned GLib.VfsFileLookupFunc? uri_func, owned GLib.VfsFileLookupFunc? 
parse_name_func);
+               [Version (since = "2.50")]
+               public bool unregister_uri_scheme (string scheme);
        }
        [CCode (cheader_filename = "gio/gio.h")]
        public class VolumeMonitor : GLib.Object {
@@ -4616,6 +4620,9 @@ namespace GLib {
        [CCode (cheader_filename = "gio/gio.h", has_target = false)]
        [Version (since = "2.36")]
        public delegate void TaskThreadFunc (GLib.Task task, GLib.Object source_object, void* task_data, 
GLib.Cancellable? cancellable = null);
+       [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+       [Version (since = "2.50")]
+       public delegate GLib.File VfsFileLookupFunc (GLib.Vfs vfs, string identifier);
        [CCode (cheader_filename = "gio/gio.h")]
        [Version (deprecated_since = "vala-0.16", replacement = "File.equal")]
        public static GLib.EqualFunc file_equal;
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 97ad8af..a344073 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -1885,8 +1885,8 @@ namespace Pk {
        [Version (since = "0.9.6")]
        public static bool offline_auth_set_prepared_ids (string package_ids) throws GLib.Error;
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
-       [Version (since = "1.0.12")]
-       public static bool offline_auth_set_prepared_upgrade_version (string release_ver) throws GLib.Error;
+       [Version (since = "1.1.2")]
+       public static bool offline_auth_set_prepared_upgrade (string name, string release_ver) throws 
GLib.Error;
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
        [Version (since = "0.9.6")]
        public static bool offline_auth_set_results (Pk.Results results) throws GLib.Error;
@@ -1918,9 +1918,15 @@ namespace Pk {
        [Version (since = "0.9.6")]
        public static Pk.PackageSack offline_get_prepared_sack () throws GLib.Error;
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+       [Version (since = "1.1.2")]
+       public static bool offline_get_prepared_upgrade (out string name, out string release_ver) throws 
GLib.Error;
+       [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
        [Version (since = "1.0.12")]
        public static GLib.FileMonitor offline_get_prepared_upgrade_monitor (GLib.Cancellable? cancellable = 
null) throws GLib.Error;
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+       [Version (since = "1.1.2")]
+       public static string offline_get_prepared_upgrade_name () throws GLib.Error;
+       [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
        [Version (since = "1.0.12")]
        public static string offline_get_prepared_upgrade_version () throws GLib.Error;
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]


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