[vala/0.40] gio-2.0: Add missing File.new_build_filename()



commit 36f0b6142c855e34573bb5637a34ec4805186cec
Author: Corentin Noël <corentin elementary io>
Date:   Tue Nov 13 06:57:36 2018 +0100

    gio-2.0: Add missing File.new_build_filename()

 vapi/gio-2.0.vapi                 | 2 ++
 vapi/metadata/Gio-2.0-custom.vala | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 71015778f..28bb8be73 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -3517,6 +3517,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);
diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala
index f8de8d8ac..c27ab1a5f 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -171,6 +171,8 @@ namespace GLib {
                public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable = null) 
throws GLib.Error;
                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 {


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