]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-unix-2.0: Fix g_unix_mounts_get binding
authorJürg Billeter <j@bitron.ch>
Thu, 23 Dec 2010 10:39:16 +0000 (11:39 +0100)
committerJürg Billeter <j@bitron.ch>
Thu, 23 Dec 2010 14:49:39 +0000 (15:49 +0100)
vapi/gio-unix-2.0.vapi
vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala

index 769c3040c8fda50a9c61bb93e2a4262bd7cc0d25..fa2cecfce2e23255d26a612d3f8865a57dda9430 100644 (file)
@@ -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")]
index 8ab5c0847ffe1d9c2dd868a197f9eb1a7fe304b8..3e6b8c3acd38a90e2421c90c1ba474c4db537f32 100644 (file)
@@ -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);
        }
 }