[epiphany] history-dialog: Change date column value type to gint64



commit 695908066b87129ed05ea07ad5379c03601d8959
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Mon May 29 14:54:38 2017 +0300

    history-dialog: Change date column value type to gint64
    
    The history service stores URL visit timestamps as 64-bit signed integers,
    however the history dialog's GtkListStore has them as GINTs. This should
    normally not cause any problem because a timestamp, which is UNIX time
    in seconds, fits a 32-bit signed integer for now (we're not in 2038 yet).
    But for some reason this causes 7-digit years to appear in the date
    column of the history dialog. Changing the column type to gint64 seems
    to fix this.

 src/resources/gtk/history-dialog.ui |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/resources/gtk/history-dialog.ui b/src/resources/gtk/history-dialog.ui
index cb56f52..b8a4b15 100644
--- a/src/resources/gtk/history-dialog.ui
+++ b/src/resources/gtk/history-dialog.ui
@@ -4,7 +4,7 @@
   <object class="GtkListStore" id="liststore">
     <columns>
       <!-- column-name DATE -->
-      <column type="gint"/>
+      <column type="gint64"/>
       <!-- column-name TITLE -->
       <column type="gchararray"/>
       <!-- column-name LOCATION -->


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