Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r--shell/ev-jobs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c
index 21beaea..7c66075 100644
--- a/shell/ev-jobs.c
+++ b/shell/ev-jobs.c
@@ -499,9 +499,11 @@ ev_job_xfer_run (EvJobXfer *job)
because, e.g., a password is required - if so, just reload rather than
creating a new instance */
if (EV_JOB (job)->document) {
+ ev_document_fc_mutex_lock ();
ev_document_load (EV_JOB (job)->document,
job->local_uri ? job->local_uri : job->uri,
&job->error);
+ ev_document_fc_mutex_unlock ();
EV_JOB (job)->finished = TRUE;
return;
}