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-document.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-document.c')
-rw-r--r-- | backend/ev-document.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/backend/ev-document.c b/backend/ev-document.c index 5df6e69..1b2f778 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -96,6 +96,19 @@ ev_document_get_doc_mutex (void) return ev_doc_mutex; } +void +ev_document_doc_mutex_lock (void) +{ + g_mutex_lock (ev_document_get_doc_mutex ()); +} + +void +ev_document_doc_mutex_unlock (void) +{ + g_mutex_unlock (ev_document_get_doc_mutex ()); +} + + gboolean ev_document_load (EvDocument *document, |