summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-05 10:15:13 +0100
committerraveit65 <[email protected]>2017-03-06 16:10:06 +0100
commit8b716eba237b2153fba29a6a25611675a816b6b9 (patch)
tree1f3b849ae1df3635fdff09cf0141d648bc0f2f45
parente5949fd1ac58c316349f06b987ab15efcdc0fac7 (diff)
downloadatril-8b716eba237b2153fba29a6a25611675a816b6b9.tar.bz2
atril-8b716eba237b2153fba29a6a25611675a816b6b9.tar.xz
docs: Add missing EvAnnotation API to sections.txt
taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5a7ad5b
-rw-r--r--help/reference/libdocument/libatrildocument-sections.txt20
-rw-r--r--libdocument/ev-annotation.c6
2 files changed, 26 insertions, 0 deletions
diff --git a/help/reference/libdocument/libatrildocument-sections.txt b/help/reference/libdocument/libatrildocument-sections.txt
index 88d3db2e..23a164b9 100644
--- a/help/reference/libdocument/libatrildocument-sections.txt
+++ b/help/reference/libdocument/libatrildocument-sections.txt
@@ -555,16 +555,36 @@ EvAnnotationText
EvAnnotationTextClass
EvAnnotationAttachment
EvAnnotationAttachmentClass
+ev_annotation_get_annotation_type
+ev_annotation_get_page
+ev_annotation_get_page_index
+ev_annotation_equal
+ev_annotation_get_contents
+ev_annotation_set_contents
+ev_annotation_get_name
+ev_annotation_set_name
+ev_annotation_get_modified
+ev_annotation_set_modified
+ev_annotation_set_modified_from_time
+ev_annotation_get_color
+ev_annotation_set_color
ev_annotation_markup_get_label
ev_annotation_markup_set_label
ev_annotation_markup_get_opacity
ev_annotation_markup_set_opacity
ev_annotation_markup_has_popup
ev_annotation_markup_get_rectangle
+ev_annotation_markup_set_rectangle
ev_annotation_markup_get_is_open
ev_annotation_markup_set_is_open
ev_annotation_text_new
+ev_annotation_text_get_icon
+ev_annotation_text_set_icon
+ev_annotation_text_get_is_open
+ev_annotation_text_set_is_open
ev_annotation_attachment_new
+ev_annotation_attachment_get_attachment
+ev_annotation_attachment_set_attachment
<SUBSECTION Standard>
EV_ANNOTATION
EV_IS_ANNOTATION
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index bbef438d..4258b4a7 100644
--- a/libdocument/ev-annotation.c
+++ b/libdocument/ev-annotation.c
@@ -1093,6 +1093,12 @@ ev_annotation_attachment_new (EvPage *page,
NULL));
}
+/**
+ * ev_annotation_attachment_get_attachment:
+ * @annot: an #EvAnnotationAttachment
+ *
+ * Returns: (transfer none): an #EvAttachment
+ */
EvAttachment *
ev_annotation_attachment_get_attachment (EvAnnotationAttachment *annot)
{