From 8b716eba237b2153fba29a6a25611675a816b6b9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 5 Mar 2017 10:15:13 +0100 Subject: docs: Add missing EvAnnotation API to sections.txt taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5a7ad5b --- .../libdocument/libatrildocument-sections.txt | 20 ++++++++++++++++++++ libdocument/ev-annotation.c | 6 ++++++ 2 files changed, 26 insertions(+) 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 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) { -- cgit v1.2.1