From a70e19a51423b855b9da8d7f9ed40d396a534c67 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 20 Jan 2020 16:00:37 +0100 Subject: 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. --- libdocument/ev-annotation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdocument/ev-annotation.h') diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index 408c4577..ce87e952 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -115,7 +115,7 @@ const gchar *ev_annotation_get_modified (EvAnnotation gboolean ev_annotation_set_modified (EvAnnotation *annot, const gchar *modified); gboolean ev_annotation_set_modified_from_time (EvAnnotation *annot, - GTime utime); + gint64 utime); EV_DEPRECATED_FOR(ev_annotaion_get_rgba) void ev_annotation_get_color (EvAnnotation *annot, GdkColor *color); -- cgit v1.2.1