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.h | |
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.h')
-rw-r--r-- | backend/ev-document.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/ev-document.h b/backend/ev-document.h index 47a91ee..da38283 100644 --- a/backend/ev-document.h +++ b/backend/ev-document.h @@ -47,7 +47,8 @@ typedef struct _EvPageCacheClass EvPageCacheClass; #define EV_DOCUMENT_ERROR ev_document_error_quark () -#define EV_DOC_MUTEX (ev_document_get_doc_mutex ()) +#define EV_DOC_MUTEX_LOCK (ev_document_doc_mutex_lock ()) +#define EV_DOC_MUTEX_UNLOCK (ev_document_doc_mutex_unlock ()) typedef enum { @@ -96,6 +97,8 @@ GType ev_document_get_type (void); GQuark ev_document_error_quark (void); EvPageCache *ev_document_get_page_cache (EvDocument *document); GMutex *ev_document_get_doc_mutex (void); +void ev_document_doc_mutex_lock (void); +void ev_document_doc_mutex_unlock (void); EvDocumentInfo *ev_document_get_info (EvDocument *document); gboolean ev_document_load (EvDocument *document, const char *uri, |