+gint
+djvu_links_find_link_page (EvDocumentLinks *document_links,
+ const gchar *link_name)
+{
+ DjvuDocument *djvu_document = DJVU_DOCUMENT (document_links);
+ gint page;
+
+ page = get_djvu_link_page (djvu_document, link_name, -1);
+
+ if (page == -1) {
+ g_warning ("DjvuLibre error: unknown link destination %s", link_name);
+ }
+
+ return page;
+}
+