summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-links.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-09 12:34:38 +0100
committerinfirit <[email protected]>2014-12-09 23:02:27 +0100
commit2c4ce19338e74f69e3f36f890afdeb9d86a7f87d (patch)
tree6ee920b11959d8de0af667552caa691f312cee82 /libdocument/ev-document-links.h
parentb7918f40bd6a2c6b63bca6d4e095194160c08a5b (diff)
downloadatril-2c4ce19338e74f69e3f36f890afdeb9d86a7f87d.tar.bz2
atril-2c4ce19338e74f69e3f36f890afdeb9d86a7f87d.tar.xz
[shell] Use new methods to get page and page label from a link
Instead of ev_link_get_page() that doesn't work for named destinations. Based on evince commits: eb1c4c8ab5f0a179a3e5836f4540a70859cba106 a5ebb853858e5e2121a35a369d52fc8dd86c92ae From: Carlos Garcia Campos <[email protected]>
Diffstat (limited to 'libdocument/ev-document-links.h')
-rw-r--r--libdocument/ev-document-links.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdocument/ev-document-links.h b/libdocument/ev-document-links.h
index 75cba6a1..6b561c0e 100644
--- a/libdocument/ev-document-links.h
+++ b/libdocument/ev-document-links.h
@@ -85,6 +85,10 @@ gint ev_document_links_get_dest_page (EvDocumentLinks *document_
EvLinkDest *dest);
gchar *ev_document_links_get_dest_page_label (EvDocumentLinks *document_links,
EvLinkDest *dest);
+gint ev_document_links_get_link_page (EvDocumentLinks *document_links,
+ EvLink *link);
+gchar *ev_document_links_get_link_page_label (EvDocumentLinks *document_links,
+ EvLink *link);
G_END_DECLS