From: Rico Tzschichholz Date: Sat, 30 Jan 2021 12:03:44 +0000 (+0100) Subject: gio-2.0: Pick up missing invoker for some AppInfo/File.*() methods X-Git-Tag: 0.51.1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6ea5dd2eb7c1f173dd1b465197ce06b453bcc1a;p=thirdparty%2Fvala.git gio-2.0: Pick up missing invoker for some AppInfo/File.*() methods --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 5c1f6d57d..cf91bc498 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -3337,14 +3337,13 @@ namespace GLib { public abstract bool equal (GLib.AppInfo appinfo2); public static GLib.List get_all (); public static GLib.List get_all_for_type (string content_type); - [NoWrapper] - public abstract unowned string get_commandline (); + [Version (since = "2.20")] + public abstract unowned string? get_commandline (); public static GLib.AppInfo? get_default_for_type (string content_type, bool must_support_uris); public static GLib.AppInfo? get_default_for_uri_scheme (string uri_scheme); public abstract unowned string? get_description (); [Version (since = "2.24")] public abstract unowned string get_display_name (); - [NoWrapper] public abstract unowned string get_executable (); [Version (since = "2.28")] public static GLib.List get_fallback_for_type (string content_type); @@ -3612,15 +3611,12 @@ namespace GLib { public abstract bool equal (GLib.File file2); public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable = null) throws GLib.Error; public virtual async GLib.Mount find_enclosing_mount_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error; - [NoWrapper] public abstract string? get_basename (); public GLib.File get_child (string name); public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error; public abstract GLib.File? get_parent (); public abstract string get_parse_name (); - [NoWrapper] public abstract string? get_path (); - [NoWrapper] public abstract string? get_relative_path (GLib.File descendant); public abstract string get_uri (); public abstract string? get_uri_scheme (); diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index bff6f71cc..483b8f062 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -265,9 +265,6 @@ File .copy_async skip .copy_finish skip .copy*.progress_callback default=null - .get_basename nullable - .get_path nullable - .get_relative_path nullable .load_partial_contents_async skip .load_partial_contents_finish skip .move.progress_callback default=null