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 /djvu/djvu-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 'djvu/djvu-document.c')
-rw-r--r-- | djvu/djvu-document.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/djvu/djvu-document.c b/djvu/djvu-document.c index e6a270f..72be474 100644 --- a/djvu/djvu-document.c +++ b/djvu/djvu-document.c @@ -164,7 +164,7 @@ djvu_document_render_pixbuf (EvDocument *document, &rrect, djvu_document->d_format, gdk_pixbuf_get_rowstride (pixbuf), - gdk_pixbuf_get_pixels (pixbuf)); + (gchar *)gdk_pixbuf_get_pixels (pixbuf)); return pixbuf; @@ -250,7 +250,7 @@ djvu_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, GdkPixbuf *pixbuf; gint thumb_width, thumb_height; - gchar *pixels; + guchar *pixels; g_return_val_if_fail (djvu_document->d_document, NULL); @@ -273,7 +273,7 @@ djvu_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, &thumb_width, &thumb_height, djvu_document->d_format, gdk_pixbuf_get_rowstride (pixbuf), - pixels); + (gchar *)pixels); return pixbuf; } |