Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-jobs.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ee52180..e7d57a8 100644
--- 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):
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;