[vala/staging] gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy
- Date: Sun, 23 Aug 2020 10:58:55 +0000 (UTC)
commit af0ad3e836adcfb5b43b269c9747b606de59c91e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Aug 23 09:19:17 2020 +0200
gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy
vapi/gio-unix-2.0.vapi | 4 ++++
vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala | 4 ++++
2 files changed, 8 insertions(+)
---
diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi
index 8e468650c..a779ad6f4 100644
--- a/vapi/gio-unix-2.0.vapi
+++ b/vapi/gio-unix-2.0.vapi
@@ -84,6 +84,8 @@ namespace GLib {
[CCode (cname = "g_unix_mount_at")]
public UnixMountEntry (string mount_path, out uint64 time_read = null);
public int compare (GLib.UnixMountEntry mount);
+ [Version (since = "2.54")]
+ public GLib.UnixMountEntry copy ();
[CCode (cname = "g_unix_mount_for")]
[Version (since = "2.52")]
public UnixMountEntry.@for (string file_path, out uint64 time_read = null);
@@ -126,6 +128,8 @@ namespace GLib {
[Version (since = "2.66")]
public UnixMountPoint (string mount_path, out uint64 time_read = null);
public int compare (GLib.UnixMountPoint mount2);
+ [Version (since = "2.54")]
+ public GLib.UnixMountPoint copy ();
[CCode (cname = "g_unix_mount_points_get")]
public static GLib.List<GLib.UnixMountPoint> @get (out uint64 time_read = null);
public unowned string get_device_path ();
diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala
b/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala
index 0ade8fd61..3d3220b04 100644
--- a/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala
+++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala
@@ -46,6 +46,8 @@ namespace GLib {
public bool is_readonly ();
public bool is_system_internal ();
+ [Version (since = "2.54")]
+ public GLib.UnixMountEntry copy ();
[CCode (cname = "g_unix_mounts_get")]
public static GLib.List<UnixMountEntry> @get (out uint64 time_read = null);
}
@@ -57,6 +59,8 @@ namespace GLib {
[Version (since = "2.66")]
public UnixMountPoint (string mount_path, out uint64 time_read = null);
+ [Version (since = "2.54")]
+ public GLib.UnixMountPoint copy ();
[CCode (cname = "g_unix_mount_points_get")]
public static GLib.List<UnixMountPoint> @get (out uint64 time_read = null);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]