diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-01-24 16:08:25 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-01-24 16:08:25 (GMT) |
commit | 269bc85e3bab5cae0db919d922b75d56c49965c5 (patch) | |
tree | 8f812cef304f45eac5d4bb89e712029ee046746f /shell/ev-jobs.c | |
parent | 5cd91dc31f4d18f7500147a73b9076270d19ffc0 (diff) |
Load the document with the font-config lock held.
2007-01-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.c: (ev_job_xfer_run):
Load the document with the font-config lock held.
svn path=/trunk/; revision=2247
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r-- | shell/ev-jobs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index 7c66075..8c26ca8 100644 --- a/shell/ev-jobs.c +++ b/shell/ev-jobs.c @@ -534,7 +534,9 @@ ev_job_xfer_run (EvJobXfer *job) } gnome_vfs_uri_unref (source_uri); + ev_document_fc_mutex_lock (); EV_JOB(job)->document = ev_document_factory_get_document (job->local_uri ? job->local_uri : job->uri, &job->error); + ev_document_fc_mutex_unlock (); EV_JOB (job)->finished = TRUE; return; |