[epiphany/wip/sync-rebase: 65/86] ephy-bookmark: Add comment regarding the modified timestamp



commit 3a75b04a35e89562431f84c452687d69269692ed
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Mon Aug 29 20:11:58 2016 +0300

    ephy-bookmark: Add comment regarding the modified timestamp

 src/bookmarks/ephy-bookmark.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmark.c b/src/bookmarks/ephy-bookmark.c
index 945566c..ecb8c38 100644
--- a/src/bookmarks/ephy-bookmark.c
+++ b/src/bookmarks/ephy-bookmark.c
@@ -34,6 +34,8 @@ struct _EphyBookmark {
   GSequence   *tags;
   gint64       time_added;
 
+  /* Keep the modified timestamp as double, and not float, to
+   * preserve the precision enforced by the Storage Server. */
   char        *id;
   double       modified;
   gboolean     uploaded;


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