From bf325e9279324f02bcadc0145cd553ed94c23d2d Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 22 Apr 2005 03:39:52 +0000 Subject: actually remove the job. Thu Apr 21 23:37:52 2005 Jonathan Blandford * 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. --- (limited to 'djvu/djvu-document.c') 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; } -- cgit v0.9.1