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:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-05-22 08:09:16 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-05-22 08:09:16 (GMT)
commit6a88201fff1713c9113691417cc34bdd1e3ead00 (patch)
tree54397efb8cde048136a7d9dee7db7677f5e040e4 /shell/ev-jobs.c
parent07a38c4acc4a282f8807f118eab0897db606a074 (diff)
Check if document supports links iterface.
* shell/ev-jobs.c: (ev_job_render_run): Check if document supports links iterface.
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r--shell/ev-jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c
index fff0cf2..9ee598a 100644
--- a/shell/ev-jobs.c
+++ b/shell/ev-jobs.c
@@ -271,7 +271,7 @@ ev_job_render_run (EvJobRender *job)
G_CALLBACK (render_finished_cb), job);
} else {
job->pixbuf = ev_document_render_pixbuf (EV_JOB (job)->document, job->rc);
- if (job->include_links)
+ if (job->include_links && EV_IS_LINK (EV_JOB (job)->document))
job->link_mapping =
ev_document_links_get_links (EV_DOCUMENT_LINKS (EV_JOB (job)->document),
job->rc->page);