diff options
Diffstat (limited to 'backend/pdf/ev-poppler.cc')
-rw-r--r-- | backend/pdf/ev-poppler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index e21bd768..be16e88f 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -667,12 +667,13 @@ pdf_document_get_info (EvDocument *document) "permissions", &permissions, "creator", &(info->creator), "producer", &(info->producer), - "creation-date", &(info->creation_date), - "mod-date", &(info->modified_date), "linearized", &linearized, "metadata", &metadata, NULL); + info->creation_date = (gint64) poppler_document_get_creation_date (PDF_DOCUMENT (document)->document); + info->modified_date = (gint64) poppler_document_get_modification_date (PDF_DOCUMENT (document)->document); + if (metadata != NULL) { pdf_document_parse_metadata (metadata, info); g_free (metadata); |