Commit 81db9713 authored by Rico Tzschichholz's avatar Rico Tzschichholz

vapi: Update GIR-based bindings

parent 0ea5a8a9
......@@ -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;
......
......@@ -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")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment