]> www.fi.muni.cz Git - evince.git/commitdiff
Check for document links.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 28 May 2006 11:14:38 +0000 (11:14 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 28 May 2006 11:14:38 +0000 (11:14 +0000)
* shell/ev-jobs.c: (ev_job_render_run):

Check for document links.

ChangeLog
shell/ev-jobs.c

index 0b79faf00567f874e9638b0cddf12fd14c8ed748..0ecadfc5853c9d9886b80323b600d74cab8e3935 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-jobs.c: (ev_job_render_run):
+       
+       Check for document links.
+
 2006-05-27  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * backend/ev-attachment.c: (ev_attachment_save),
index 4e01ab1923ab41e81166e33a6dceeccf88e8eed0..8bd3d45290deaceccfd07fcf2ec16db0d94ad449 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 && EV_IS_LINK (EV_JOB (job)->document))
+               if (job->include_links && EV_IS_DOCUMENT_LINKS (EV_JOB (job)->document))
                        job->link_mapping =
                                ev_document_links_get_links (EV_DOCUMENT_LINKS (EV_JOB (job)->document),
                                                             job->rc->page);