diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-01-09 18:14:39 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-01-09 18:14:39 (GMT) |
commit | 2e255763b2cd5b9571039261f9c29465b984bec5 (patch) | |
tree | dcec00af0c6537e1fe3e2b5ad264c99d9801ca73 /shell/ev-jobs.c | |
parent | 4859616d1323f57c47810c68307e690e36fd0f5d (diff) |
Show main window and load document with the font-config lock held.
2007-01-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.c: (ev_job_xfer_run):
* shell/ev-application.c: (ev_application_open_uri_at_dest):
Show main window and load document with the font-config lock held.
svn path=/trunk/; revision=2203
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 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; } |