summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-links.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-03 00:00:52 +0200
committerStefano Karapetsas <[email protected]>2012-09-03 00:00:52 +0200
commit5ad91699940909223c167ef40de03e9a55a5a9c3 (patch)
treeddff7db24eab78d18c31cf622d202946c3251c3e /libdocument/ev-document-links.c
parent25807110e3f2ba838e2105664922e39a68fc6e30 (diff)
downloadatril-5ad91699940909223c167ef40de03e9a55a5a9c3.tar.bz2
atril-5ad91699940909223c167ef40de03e9a55a5a9c3.tar.xz
add xps backend
xps backend is from evince ported to MATE by Leandro Vital
Diffstat (limited to 'libdocument/ev-document-links.c')
-rw-r--r--libdocument/ev-document-links.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdocument/ev-document-links.c b/libdocument/ev-document-links.c
index 3fa0b18b..1c8eb03e 100644
--- a/libdocument/ev-document-links.c
+++ b/libdocument/ev-document-links.c
@@ -77,6 +77,20 @@ ev_document_links_find_link_dest (EvDocumentLinks *document_links,
return retval;
}
+gint
+ev_document_links_find_link_page (EvDocumentLinks *document_links,
+ const gchar *link_name)
+{
+ EvDocumentLinksInterface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
+ gint retval;
+
+ ev_document_doc_mutex_lock ();
+ retval = iface->find_link_page (document_links, link_name);
+ ev_document_doc_mutex_unlock ();
+
+ return retval;
+}
+
/* Helper functions */
gint
ev_document_links_get_dest_page (EvDocumentLinks *document_links,