[vala] gio-unix-2.0: Fix g_unix_mounts_get binding



commit 1eb2caf01db8f24f6fa287406455613a76b0d6b8
Author: Jürg Billeter <j bitron ch>
Date:   Thu Dec 23 11:39:16 2010 +0100

    gio-unix-2.0: Fix g_unix_mounts_get binding

 vapi/gio-unix-2.0.vapi                             |    2 +-
 .../packages/gio-unix-2.0/gio-unix-2.0-custom.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi
index 40155eb..1c2eb8a 100644
--- a/vapi/gio-unix-2.0.vapi
+++ b/vapi/gio-unix-2.0.vapi
@@ -52,7 +52,7 @@ namespace GLib {
 		[CCode (cname = "g_unix_mount_compare")]
 		public int compare (GLib.UnixMountEntry mount);
 		[CCode (cname = "g_unix_mounts_get")]
-		public static GLib.List<GLib.UnixMountEntry> @get (ref uint64? time_read = null);
+		public static GLib.List<GLib.UnixMountEntry> @get (out uint64 time_read = null);
 		[CCode (cname = "g_unix_mount_get_device_path")]
 		public unowned string get_device_path ();
 		[CCode (cname = "g_unix_mount_get_fs_type")]
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 8ab5c08..3e6b8c3 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
@@ -48,6 +48,6 @@ namespace GLib {
 		public bool is_system_internal ();
 
 		[CCode (cname = "g_unix_mounts_get", cheader_filename = "gio/gunixmounts.h")]
-		public static GLib.List<UnixMountEntry> @get (ref uint64? time_read = null);
+		public static GLib.List<UnixMountEntry> @get (out uint64 time_read = null);
 	}
 }



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