diff options
Diffstat (limited to 'libview/ev-jobs.c')
-rw-r--r-- | libview/ev-jobs.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c index 55e76a4..c0aa0b4 100644 --- a/libview/ev-jobs.c +++ b/libview/ev-jobs.c @@ -35,6 +35,7 @@ #include "ev-document-layers.h" #include "ev-document-print.h" #include "ev-document-annotations.h" +#include "ev-document-attachments.h" #include "ev-debug.h" #include <errno.h> @@ -402,13 +403,14 @@ ev_job_attachments_run (EvJob *job) ev_debug_message (DEBUG_JOBS, NULL); ev_profiler_start (EV_PROFILE_JOBS, "%s (%p)", EV_GET_TYPE_NAME (job), job); - + ev_document_doc_mutex_lock (); - job_attachments->attachments = ev_document_get_attachments (job->document); + job_attachments->attachments = + ev_document_attachments_get_attachments (EV_DOCUMENT_ATTACHMENTS (job->document)); ev_document_doc_mutex_unlock (); - + ev_job_succeeded (job); - + return FALSE; } |