[gnome-documents] documents: use G_TYPE_LONG to store mtime



commit c358564dc6ddae5ce5a70dfb973efe7aca8263c7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 7 16:56:44 2012 -0400

    documents: use G_TYPE_LONG to store mtime
    
    Because that's what it is; previously, a GTK bug [1] wasn't making this
    feasible.
    
    [1] https://bugzilla.gnome.org/show_bug.cgi?id=677649

 src/documents.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 4cee29b..7689cc8 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -1021,7 +1021,7 @@ const DocumentModel = new Lang.Class({
               GObject.TYPE_STRING,
               GObject.TYPE_STRING,
               GdkPixbuf.Pixbuf,
-              GObject.TYPE_INT,
+              GObject.TYPE_LONG,
               GObject.TYPE_BOOLEAN ]);
         this.model.set_sort_column_id(Gd.MainColumns.MTIME,
                                       Gtk.SortType.DESCENDING);



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