X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fev-document-links.c;h=daec3eaa528303eca396fcf826d1ef44b6adc689;hb=e02e3fde2610db645a005f276286795025426186;hp=d9baae0322d9e9171e979ac5eefb954c54a29cc7;hpb=1c0d19bd22598eca159c3febdcdaf4168891cb8f;p=evince.git diff --git a/backend/ev-document-links.c b/backend/ev-document-links.c index d9baae03..daec3eaa 100644 --- a/backend/ev-document-links.c +++ b/backend/ev-document-links.c @@ -24,17 +24,14 @@ #include "config.h" #include "ev-document-links.h" -#include "ev-job-queue.h" GType 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, @@ -69,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; +}