]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Pick up missing invoker for some AppInfo/File.*() methods
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 30 Jan 2021 12:03:44 +0000 (13:03 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 30 Jan 2021 12:18:58 +0000 (13:18 +0100)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 5c1f6d57dc66f8da9ed9db5143d851d8b60c442f..cf91bc49825e20ca41d7732e0815d8ef121a328e 100644 (file)
@@ -3337,14 +3337,13 @@ namespace GLib {
                public abstract bool equal (GLib.AppInfo appinfo2);
                public static GLib.List<GLib.AppInfo> get_all ();
                public static GLib.List<GLib.AppInfo> 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<GLib.AppInfo> 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 ();
index bff6f71ccb2d342ac63c73a5d2dcc4a0bb17ded6..483b8f06299b622bbb1c0d131876ca4470efec8f 100644 (file)
@@ -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