Re: [Vala] The right way to compare file timestamp?

2011-10-18 Thread Tal Hadad
2011 16:22:42 +0200 Subject: [Vala] The right way to compare file timestamp? I want to compare the timestamp of a given file, to see whether a modification warning shell be given. I try to use this code as a start(with GIO package): if (file.query_exists ()) { FileInfo info = file.q

[Vala] The right way to compare file timestamp?

2011-10-16 Thread Tal Hadad
I want to compare the timestamp of a given file, to see whether a modification warning shell be given. I try to use this code as a start(with GIO package): if (file.query_exists ()) { FileInfo info = file.query_filesystem_info ("*"); TimeVal temp_time; info.get_modification_time (out t