]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Add missing File.new_build_filename() 613210b2410577844bafdf8aff3cc8d50399a1a5
authorCorentin Noël <corentin@elementary.io>
Tue, 13 Nov 2018 05:57:36 +0000 (06:57 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 13 Nov 2018 06:54:41 +0000 (07:54 +0100)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0-custom.vala

index c4ebabab95f3e20e0c2793e2c38c13074586cd80..adefb272320763c1f8ce4b54351fbf4ae75ea30a 100644 (file)
@@ -3542,6 +3542,8 @@ namespace GLib {
                public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract async GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
+               [Version (since = "2.56")]
+               public static GLib.File new_build_filename (string first_element, ...);
                public static GLib.File new_for_commandline_arg (string arg);
                [Version (since = "2.36")]
                public static GLib.File new_for_commandline_arg_and_cwd (string arg, string cwd);
index c5a0838d954e230f020b6143b36b56f67c01fa40..1909e6b8205c76771ae356ac9bad69602d476285 100644 (file)
@@ -167,6 +167,8 @@ namespace GLib {
        public interface File : GLib.Object {
                public virtual async bool copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
                public async bool load_partial_contents_async (GLib.Cancellable? cancellable = null, [CCode (delegate_target_pos = -0.9)] GLib.FileReadMoreCallback read_more_callback, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
+               [Version (since = "2.56")]
+               public static GLib.File new_build_filename (string first_element, ...);
        }
 
        public interface Icon : GLib.Object {