[gimp] Support file dates set to before the start of time



commit 9fe4e5fad9d900e04ed28de78a694da5b92110d1
Author: Ville PÃtsi <drc gimp org>
Date:   Fri Sep 21 20:52:07 2012 +0300

    Support file dates set to before the start of time

 libgimpthumb/gimpthumbnail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpthumb/gimpthumbnail.c b/libgimpthumb/gimpthumbnail.c
index ce67268..30cc191 100644
--- a/libgimpthumb/gimpthumbnail.c
+++ b/libgimpthumb/gimpthumbnail.c
@@ -158,7 +158,7 @@ gimp_thumbnail_class_init (GimpThumbnailClass *klass)
                                    PROP_IMAGE_MTIME,
                                    g_param_spec_int64 ("image-mtime", NULL,
                                                        "Modification time of the image file in seconds since the Epoch",
-                                                       0, G_MAXINT64, 0,
+                                                       G_MININT64, G_MAXINT64, 0,
                                                        GIMP_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_IMAGE_FILESIZE,



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