]> www.fi.muni.cz Git - evince.git/commitdiff
Check if document supports links iterface.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 22 May 2006 08:09:16 +0000 (08:09 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 22 May 2006 08:09:16 +0000 (08:09 +0000)
* shell/ev-jobs.c: (ev_job_render_run):

Check if document supports links iterface.

ChangeLog
shell/ev-jobs.c

index 6860181bab9aa53b7d4ab3a57fe87d1a94828b91..1fae12d5ba387d573c1b33b4d874396181af4f64 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-jobs.c: (ev_job_render_run):
+       
+       Check if document supports links iterface.
+
 2006-05-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * NEWS:
index fff0cf27b680d681fecd423a9acd8248ffe23a4e..9ee598ac4aae5f83f938a182e6a35b7a607b2436 100644 (file)
@@ -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);