summaryrefslogtreecommitdiff
path: root/libdocument/ev-attachment.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-attachment.c')
-rw-r--r--libdocument/ev-attachment.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdocument/ev-attachment.c b/libdocument/ev-attachment.c
index c0fb46f7..f87cfc13 100644
--- a/libdocument/ev-attachment.c
+++ b/libdocument/ev-attachment.c
@@ -38,8 +38,8 @@ enum
struct _EvAttachmentPrivate {
gchar *name;
gchar *description;
- GTime mtime;
- GTime ctime;
+ gint64 mtime;
+ gint64 ctime;
gsize size;
gchar *data;
gchar *mime_type;
@@ -217,8 +217,8 @@ ev_attachment_init (EvAttachment *attachment)
EvAttachment *
ev_attachment_new (const gchar *name,
const gchar *description,
- GTime mtime,
- GTime ctime,
+ gint64 mtime,
+ gint64 ctime,
gsize size,
gpointer data)
{
@@ -252,7 +252,7 @@ ev_attachment_get_description (EvAttachment *attachment)
return attachment->priv->description;
}
-GTime
+gint64
ev_attachment_get_modification_date (EvAttachment *attachment)
{
g_return_val_if_fail (EV_IS_ATTACHMENT (attachment), 0);
@@ -260,7 +260,7 @@ ev_attachment_get_modification_date (EvAttachment *attachment)
return attachment->priv->mtime;
}
-GTime
+gint64
ev_attachment_get_creation_date (EvAttachment *attachment)
{
g_return_val_if_fail (EV_IS_ATTACHMENT (attachment), 0);