diff options
author | rbuj <[email protected]> | 2020-01-20 16:00:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-01-31 18:52:19 +0100 |
commit | a70e19a51423b855b9da8d7f9ed40d396a534c67 (patch) | |
tree | 1fe5414f810a3fadd3fbd88673987cad60d62aac /libdocument/ev-annotation.c | |
parent | e388b7032dda81917b05583c306a4b9690dcaa46 (diff) | |
download | atril-a70e19a51423b855b9da8d7f9ed40d396a534c67.tar.bz2 atril-a70e19a51423b855b9da8d7f9ed40d396a534c67.tar.xz |
Fix year 2038 issue with signed 32-bit integers
GTime is defined to always be a signed 32-bit integer, it will
overflow in the year 2038.
Diffstat (limited to 'libdocument/ev-annotation.c')
-rw-r--r-- | libdocument/ev-annotation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index 41bd4249..03fe925c 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -454,7 +454,7 @@ ev_annotation_get_modified (EvAnnotation *annot) * @modified: string with the last modification date. * * Set the last modification date of @annot to @modified. To - * set the last modification date using a #GTime, use + * set the last modification date using a #gint64, use * ev_annotation_set_modified_from_time() instead. You can monitor * changes to the last modification date by connecting to the * notify::modified signal on @annot. @@ -482,7 +482,7 @@ ev_annotation_set_modified (EvAnnotation *annot, /** * ev_annotation_set_modified_from_time: * @annot: an #EvAnnotation - * @utime: a #GTime + * @utime: a #gint64 * * Set the last modification date of @annot to @utime. You can * monitor changes to the last modification date by connectin to the @@ -493,7 +493,7 @@ ev_annotation_set_modified (EvAnnotation *annot, */ gboolean ev_annotation_set_modified_from_time (EvAnnotation *annot, - GTime utime) + gint64 utime) { gchar *modified; |