diff options
author | rootavish <[email protected]> | 2014-07-21 23:49:08 +0530 |
---|---|---|
committer | rootavish <[email protected]> | 2014-07-21 23:50:42 +0530 |
commit | 529473758fee66ac2fb0f2c89e4298789d183d5b (patch) | |
tree | d571fc1c5c7ea78f3664dea3ca93203ff1894a95 /libview/ev-jobs.h | |
parent | b1bed03353e98b968e3f371446b02837f9e3baf7 (diff) | |
download | atril-529473758fee66ac2fb0f2c89e4298789d183d5b.tar.bz2 atril-529473758fee66ac2fb0f2c89e4298789d183d5b.tar.xz |
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.
Diffstat (limited to 'libview/ev-jobs.h')
-rw-r--r-- | libview/ev-jobs.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |