From: Jaap A. Haitsma Date: Mon, 3 Aug 2009 05:31:39 +0000 (+0200) Subject: gio-2.0: mtime in FileInfo.get_modification_time is an out parameter X-Git-Tag: 0.7.6~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85dd80ad6d36d15d49248c1528e46e8e33feeb7;p=thirdparty%2Fvala.git gio-2.0: mtime in FileInfo.get_modification_time is an out parameter --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 2a9eb0fe5..02e7f75b5 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -223,7 +223,7 @@ namespace GLib { public bool get_is_backup (); public bool get_is_hidden (); public bool get_is_symlink (); - public void get_modification_time (GLib.TimeVal _result); + public void get_modification_time (out GLib.TimeVal _result); public unowned string get_name (); public int64 get_size (); public int32 get_sort_order (); @@ -815,7 +815,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h")] public class VolumeMonitor : GLib.Object { public virtual unowned GLib.Volume adopt_orphan_mount (GLib.Mount mount); - public static unowned GLib.VolumeMonitor get (); + public static unowned GLib.VolumeMonitor @get (); public virtual unowned GLib.List get_connected_drives (); public virtual unowned GLib.Mount get_mount_for_uuid (string uuid); public virtual unowned GLib.List get_mounts (); diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata index fc102482e..08863c3f6 100644 --- a/vapi/packages/gio-2.0/gio-2.0.metadata +++ b/vapi/packages/gio-2.0/gio-2.0.metadata @@ -33,6 +33,7 @@ g_file_get_relative_path transfer_ownership="1" nullable="1" g_file_get_uri transfer_ownership="1" g_file_get_uri_scheme transfer_ownership="1" g_file_hash.file hidden="1" +g_file_info_get_modification_time.result is_out="1" g_file_load_contents.contents transfer_ownership="1" g_file_load_contents.length is_out="1" g_file_load_contents.etag_out transfer_ownership="1" @@ -105,4 +106,4 @@ g_app_info_launch_uris.uris nullable="1" g_loadable_icon_load.type nullable="1" g_loadable_icon_load_finish.type nullable="1" -g_srv_target_copy transfer_ownership="1" \ No newline at end of file +g_srv_target_copy transfer_ownership="1"