From 269bc85e3bab5cae0db919d922b75d56c49965c5 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 24 Jan 2007 16:08:25 +0000 Subject: 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 --- (limited to 'shell/ev-jobs.c') 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; -- cgit v0.9.1