Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-document-links.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ev-document-links.c')
-rw-r--r--backend/ev-document-links.c30
1 files changed, 26 insertions, 4 deletions
diff --git a/backend/ev-document-links.c b/backend/ev-document-links.c
index 7ab3468..daec3ea 100644
--- a/backend/ev-document-links.c
+++ b/backend/ev-document-links.c
@@ -30,10 +30,8 @@ ev_document_links_get_type (void)
{
static GType type = 0;
- if (G_UNLIKELY (type == 0))
- {
- static const GTypeInfo our_info =
- {
+ if (G_UNLIKELY (type == 0)) {
+ static const GTypeInfo our_info = {
sizeof (EvDocumentLinksIface),
NULL,
NULL,
@@ -68,3 +66,27 @@ ev_document_links_get_links_model (EvDocumentLinks *document_links)
return retval;
}
+
+GList *
+ev_document_links_get_links (EvDocumentLinks *document_links,
+ gint page)
+{
+ EvDocumentLinksIface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
+ GList *retval;
+
+ retval = iface->get_links (document_links, page);
+
+ return retval;
+}
+
+EvLinkDest *
+ev_document_links_find_link_dest (EvDocumentLinks *document_links,
+ const gchar *link_name)
+{
+ EvDocumentLinksIface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
+ EvLinkDest *retval;
+
+ retval = iface->find_link_dest (document_links, link_name);
+
+ return retval;
+}