]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/pdf-document.cc
Handle title links for real. Gosh, how long has this been broken.
[evince.git] / pdf / xpdf / pdf-document.cc
index 49da9e90b37308c862c040ec31ddff2bee66c3d7..41c2eb89c734c867b3d27bfd4eabeac85f299e19 100644 (file)
@@ -813,7 +813,9 @@ build_link_from_action (PdfDocument *pdf_document,
 {
        EvLink *link = NULL;
 
-       if (link_action->getKind () == actionGoToR) {
+        if (link_action == NULL) {
+               link = ev_link_new_title (title);
+       } else if (link_action->getKind () == actionGoToR) {
                g_warning ("actionGoToR links not implemented");
        } else if (link_action->getKind () == actionLaunch) {
                g_warning ("actionLaunch links not implemented");