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



commit 375b3e25beb664c5e956bb5a7e42a1896301343a
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 41750fe..e1a9b47 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]