From: Carlos Garcia Campos Date: Wed, 24 Jan 2007 16:08:25 +0000 (+0000) Subject: Load the document with the font-config lock held. X-Git-Tag: EVINCE_0_7_2~74 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=269bc85e3bab5cae0db919d922b75d56c49965c5;p=evince.git Load the document with the font-config lock held. 2007-01-24 Carlos Garcia Campos * shell/ev-jobs.c: (ev_job_xfer_run): Load the document with the font-config lock held. svn path=/trunk/; revision=2247 --- diff --git a/ChangeLog b/ChangeLog index ee52180f..e7d57a82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-24 Carlos Garcia Campos + + * shell/ev-jobs.c: (ev_job_xfer_run): + + Load the document with the font-config lock held. + 2007-01-23 Carlos Garcia Campos * backend/ps/ps-document.c: (start_interpreter): diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index 7c660756..8c26ca80 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;