diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-04-22 03:39:52 (GMT) |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-04-22 03:39:52 (GMT) |
commit | bf325e9279324f02bcadc0145cd553ed94c23d2d (patch) | |
tree | 6129bb1466dcf874d07205630db3575761b90874 /backend/ev-page-cache.c | |
parent | 4a63e33ac6be1387403071dbd9aed30b4e440242 (diff) |
actually remove the job.
Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
remove the job.
* backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
function. This helps debugging.
Diffstat (limited to 'backend/ev-page-cache.c')
-rw-r--r-- | backend/ev-page-cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ev-page-cache.c b/backend/ev-page-cache.c index 935347e..a6d7822 100644 --- a/backend/ev-page-cache.c +++ b/backend/ev-page-cache.c @@ -96,7 +96,7 @@ _ev_page_cache_new (EvDocument *document) page_cache = (EvPageCache *) g_object_new (EV_TYPE_PAGE_CACHE, NULL); - g_mutex_lock (EV_DOC_MUTEX); + ev_document_doc_mutex_lock (); /* We read page information out of the document */ @@ -152,7 +152,7 @@ _ev_page_cache_new (EvDocument *document) if (! page_cache->uniform) g_assert (page_cache->size_cache != NULL); - g_mutex_unlock (EV_DOC_MUTEX); + ev_document_doc_mutex_unlock (); if (page_cache->n_pages > 0) ev_page_cache_set_current_page (page_cache, 0); |