]> www.fi.muni.cz Git - evince.git/commitdiff
Load the document with the font-config lock held.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 24 Jan 2007 16:08:25 +0000 (16:08 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 24 Jan 2007 16:08:25 +0000 (16:08 +0000)
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

ChangeLog
shell/ev-jobs.c

index ee52180f31d7cd9a53ac9594d4856859ccc1c461..e7d57a8233ea936925eda4ec30abdf8f46be40e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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. 
+
 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * backend/ps/ps-document.c: (start_interpreter):
index 7c6607563c71228bd7bdb600e1761fdf8e383bc9..8c26ca806d83435eae5660bc24f5452f8baebfc2 100644 (file)
@@ -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;