diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-08-18 08:18:55 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-09-15 13:56:00 (GMT) |
commit | 3d3328b2597e9b85afcb552ffc6abdeca1e3e3a7 (patch) | |
tree | 2680dd2af2fca3c9ddf2a70d791ca189bf3324ee /libview | |
parent | 68172538bd783a8ad763e8e3416e4081fcc06580 (diff) |
Remove attachments from EvDocument interface and use EvDocumentAttachments instead
Diffstat (limited to 'libview')
-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; } |