Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-12-09 17:23:00 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-12-09 17:23:00 (GMT)
commite63cb09538113fa2695bc2877902702109eed303 (patch)
treee6eff62142b4983f061b10b7b08594b89f0cce66 /libview
parente3c697ada15e7e5ffd47562350bdfee455b29322 (diff)
Use EvPage instead of page index to get links
So that we can re-use the page object instead of creating and deleting a new one.
Diffstat (limited to 'libview')
-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 df15f6d..ac71630 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -598,7 +598,7 @@ ev_job_page_data_run (EvJob *job)
ev_selection_get_selection_map (EV_SELECTION (job->document), ev_page);
if ((job_pd->flags & EV_PAGE_DATA_INCLUDE_LINKS) && EV_IS_DOCUMENT_LINKS (job->document))
job_pd->link_mapping =
- ev_document_links_get_links (EV_DOCUMENT_LINKS (job->document), job_pd->page);
+ ev_document_links_get_links (EV_DOCUMENT_LINKS (job->document), ev_page);
if ((job_pd->flags & EV_PAGE_DATA_INCLUDE_FORMS) && EV_IS_DOCUMENT_FORMS (job->document))
job_pd->form_field_mapping =
ev_document_forms_get_form_fields (EV_DOCUMENT_FORMS (job->document),