Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-jobs.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-12-08 12:26:44 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-12-08 12:41:02 (GMT)
commited252626b3d584bc3d98649ce2a217c0b82ec50b (patch)
treea931d8c9d62cfb7cf08f15f12e8642a804a8d577 /libview/ev-jobs.c
parentea6eb7ebc9898463a4e165d76aea75634a8b519b (diff)
Use EvPage instead of a render context to get the selection map
Selection map doesn't depend on scale/rotation so only the page is needed.
Diffstat (limited to 'libview/ev-jobs.c')
-rw-r--r--libview/ev-jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index a0866d5..620ea66 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -553,7 +553,7 @@ ev_job_render_run (EvJob *job)
if ((job_render->flags & EV_RENDER_INCLUDE_TEXT) && EV_IS_SELECTION (job->document))
job_render->text_mapping =
- ev_selection_get_selection_map (EV_SELECTION (job->document), rc);
+ ev_selection_get_selection_map (EV_SELECTION (job->document), job_render->ev_page);
if ((job_render->flags & EV_RENDER_INCLUDE_LINKS) && EV_IS_DOCUMENT_LINKS (job->document))
job_render->link_mapping =
ev_document_links_get_links (EV_DOCUMENT_LINKS (job->document), job_render->page);