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 /shell/ev-sidebar-thumbnails.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 'shell/ev-sidebar-thumbnails.c')
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index a22d70e..7945874 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -267,10 +267,10 @@ ev_sidebar_thumbnails_set_document (EvSidebarPage *sidebar_page, /* We get the dimensions of the first doc so that we can make a blank * icon. */ - g_mutex_lock (EV_DOC_MUTEX); + ev_document_doc_mutex_lock (); ev_document_thumbnails_get_dimensions (EV_DOCUMENT_THUMBNAILS (priv->document), 0, THUMBNAIL_WIDTH, &width, &height); - g_mutex_unlock (EV_DOC_MUTEX); + ev_document_doc_mutex_unlock (); loading_icon = ev_document_misc_get_thumbnail_frame (width, height, NULL); |