summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-links.c
diff options
context:
space:
mode:
authorCosimo Cecchi <[email protected]>2013-01-07 07:49:23 +0100
committerraveit65 <[email protected]>2017-08-24 11:56:28 +0200
commitd06cb3dabbd7fbb87cb2763e69bce9ac782450eb (patch)
tree850122cf5bc8b16ee0bab1746a1d356e7f6a8199 /libdocument/ev-document-links.c
parent0568785bbd484714a63caa4b9ca9639a2867d6e9 (diff)
downloadatril-d06cb3dabbd7fbb87cb2763e69bce9ac782450eb.tar.bz2
atril-d06cb3dabbd7fbb87cb2763e69bce9ac782450eb.tar.xz
libdocument: add missing transfer and element-type annotations
https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7917b62
Diffstat (limited to 'libdocument/ev-document-links.c')
-rw-r--r--libdocument/ev-document-links.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libdocument/ev-document-links.c b/libdocument/ev-document-links.c
index 42ffc59a..af41568d 100644
--- a/libdocument/ev-document-links.c
+++ b/libdocument/ev-document-links.c
@@ -43,6 +43,12 @@ ev_document_links_has_document_links (EvDocumentLinks *document_links)
return retval;
}
+/**
+ * ev_document_links_get_links_model:
+ * @document_links: an #EvDocumentLinks
+ *
+ * Returns: (transfer full): a #GtkTreeModel
+ */
GtkTreeModel *
ev_document_links_get_links_model (EvDocumentLinks *document_links)
{
@@ -63,6 +69,13 @@ ev_document_links_get_links (EvDocumentLinks *document_links,
return iface->get_links (document_links, page);
}
+/**
+ * ev_document_links_find_link_dest:
+ * @document_links: an #EvDocumentLinks
+ * @link_name: the link name
+ *
+ * Returns: (transfer full): an #EvLinkDest
+ */
EvLinkDest *
ev_document_links_find_link_dest (EvDocumentLinks *document_links,
const gchar *link_name)