}
- document_display_page (pdf_document);
+ /* FIXME we need to regenerate pages */
}
}
{
EvLink *link = NULL;
- if (link_action == NULL) {
- link = ev_link_new_title (title);
- } else if (link_action->getKind () == actionGoToR) {
+ if (link_action->getKind () == actionGoToR) {
g_warning ("actionGoToR links not implemented");
} else if (link_action->getKind () == actionLaunch) {
g_warning ("actionLaunch links not implemented");
link_unknown->getAction()->getCString());
}
+ if (link == NULL) {
+ link = ev_link_new_title (title);
+ }
+
return link;
}