From 529473758fee66ac2fb0f2c89e4298789d183d5b Mon Sep 17 00:00:00 2001 From: rootavish Date: Mon, 21 Jul 2014 23:49:08 +0530 Subject: Thumbnails working for all epub documents. Passes the test with a 71 page epub, I don't think it would have much problems were we to scale it further. --- libview/ev-jobs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libview/ev-jobs.h') diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h index ded0f05f..39fa4433 100644 --- a/libview/ev-jobs.h +++ b/libview/ev-jobs.h @@ -307,7 +307,7 @@ struct _EvJobWebThumbnail GtkWidget *offscreenwindow; gboolean *completed; GRWLock screenlock; - cairo_surface_t *surface; + cairo_surface_t **surface; gchar* page; }; @@ -477,7 +477,8 @@ EvJob *ev_job_thumbnail_new (EvDocument *document, GType ev_job_web_thumbnail_get_type (void) G_GNUC_CONST; EvJob *ev_job_web_thumbnail_new (EvDocument *document, gboolean *completed, - gchar *webpage); + gchar *webpage, + cairo_surface_t **surface); /* EvJobFonts */ GType ev_job_fonts_get_type (void) G_GNUC_CONST; EvJob *ev_job_fonts_new (EvDocument *document); -- cgit v1.2.1