From: Nickolay V. Shmyrev Date: Mon, 22 May 2006 08:09:16 +0000 (+0000) Subject: Check if document supports links iterface. X-Git-Tag: EVINCE_0_5_4~65 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=6a88201fff1713c9113691417cc34bdd1e3ead00;p=evince.git Check if document supports links iterface. * shell/ev-jobs.c: (ev_job_render_run): Check if document supports links iterface. --- diff --git a/ChangeLog b/ChangeLog index 6860181b..1fae12d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-22 Nickolay V. Shmyrev + + * shell/ev-jobs.c: (ev_job_render_run): + + Check if document supports links iterface. + 2006-05-16 Nickolay V. Shmyrev * NEWS: diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index fff0cf27..9ee598ac 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);