[gnome-documents/rhel-7.4: 7/16] documents: Fix the retrieval of the cache's modification time
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/rhel-7.4: 7/16] documents: Fix the retrieval of the cache's modification time
- Date: Fri, 9 Jun 2017 14:16:47 +0000 (UTC)
commit b80863a8d5666c9bd246a09bf770a8ea58367637
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Apr 20 11:51:47 2017 +0200
documents: Fix the retrieval of the cache's modification time
Gio.FILE_ATTRIBUTE_TIME_MODIFIED returns a value in seconds, not
microseconds.
Fallout from 4133adf06a0ff473e6234f8ab3eb88c47589e627
https://bugzilla.gnome.org/show_bug.cgi?id=774937
src/documents.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index ca48e53..4db7d07 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -387,8 +387,6 @@ const DocCommon = new Lang.Class({
}
let cacheMtime = info.get_attribute_uint64(Gio.FILE_ATTRIBUTE_TIME_MODIFIED);
- cacheMtime /= 1000000;
-
if (this.mtime <= cacheMtime) {
callback(true, null);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]