Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r--shell/ev-jobs.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c
index 4cc0c25..677b39f 100644
--- a/shell/ev-jobs.c
+++ b/shell/ev-jobs.c
@@ -299,9 +299,10 @@ ev_job_render_run (EvJobRender *job)
}
EvJob *
-ev_job_thumbnail_new (EvDocument *document,
- gint page,
- gint requested_width)
+ev_job_thumbnail_new (EvDocument *document,
+ gint page,
+ EvOrientation orientation,
+ gint requested_width)
{
EvJobThumbnail *job;
@@ -309,6 +310,7 @@ ev_job_thumbnail_new (EvDocument *document,
EV_JOB (job)->document = g_object_ref (document);
job->page = page;
+ job->orientation = orientation;
job->requested_width = requested_width;
return EV_JOB (job);
@@ -324,6 +326,7 @@ ev_job_thumbnail_run (EvJobThumbnail *job)
job->thumbnail =
ev_document_thumbnails_get_thumbnail (EV_DOCUMENT_THUMBNAILS (EV_JOB (job)->document),
job->page,
+ job->orientation,
job->requested_width,
TRUE);
EV_JOB (job)->finished = TRUE;