summaryrefslogtreecommitdiff
path: root/vapi/packages/gio-unix-2.0
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-10-18 23:15:40 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-10-18 23:15:40 +0200
commitc80be970ce2ebdc37bd2048de031a8f1ac251d31 (patch)
treef242039c0dcce64e01a23578f902c9191415b2fe /vapi/packages/gio-unix-2.0
parentaa8a394c90070f2601b297a0aa3d6e189e75c7bc (diff)
downloadvala-c80be970ce2ebdc37bd2048de031a8f1ac251d31.tar.gz
gio-unix-2.0: Fix "g_unix_mount_at" binding
Diffstat (limited to 'vapi/packages/gio-unix-2.0')
-rw-r--r--vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala5
1 files changed, 3 insertions, 2 deletions
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 424e2ec29..4b930b04a 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
@@ -25,7 +25,7 @@ namespace GLib {
[CCode (cname = "GUnixMountEntry", cheader_filename = "gio/gunixmounts.h", lower_case_cprefix = "g_unix_mount_", free_function = "g_unix_mount_free")]
public class UnixMountEntry {
[CCode (cname = "g_unix_mount_at")]
- public UnixMountEntry (string mount_path, uint64 time_read);
+ public UnixMountEntry (string mount_path, out uint64 time_read = null);
public int compare (GLib.UnixMountEntry mount);
public unowned string get_device_path ();
public unowned string get_fs_type ();
@@ -34,11 +34,12 @@ namespace GLib {
public GLib.Icon guess_icon ();
public string guess_name ();
public bool guess_should_display ();
+ [Version (since = "2.34")]
public GLib.Icon guess_symbolic_icon ();
public bool is_readonly ();
public bool is_system_internal ();
- [CCode (cname = "g_unix_mounts_get", cheader_filename = "gio/gunixmounts.h")]
+ [CCode (cname = "g_unix_mounts_get")]
public static GLib.List<UnixMountEntry> @get (out uint64 time_read = null);
}
}