[evince] libdocument: Add missing introspection annotations to ev_document_get_page and ev_document_get_page_
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] libdocument: Add missing introspection annotations to ev_document_get_page and ev_document_get_page_
- Date: Mon, 2 Jul 2012 16:06:10 +0000 (UTC)
commit 6d64b6065ebc2b75138db8cb7318c7299f8dc53e
Author: Ferdinand Schwenk <info nerdifand de>
Date: Mon Jul 2 17:08:23 2012 +0200
libdocument: Add missing introspection annotations to ev_document_get_page and ev_document_get_page_size
https://bugzilla.gnome.org/show_bug.cgi?id=679264
libdocument/ev-document.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index 4ddb4c7..4b8bf81 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -437,6 +437,13 @@ ev_document_save (EvDocument *document,
return klass->save (document, uri, error);
}
+/**
+ * ev_document_get_page:
+ * @document: a #EvDocument
+ * @page_index: index of page
+ *
+ * Returns: (transfer full): Newly created #EvPage for the given index.
+ */
EvPage *
ev_document_get_page (EvDocument *document,
gint index)
@@ -586,6 +593,13 @@ _ev_document_get_page_size (EvDocument *document,
klass->get_page_size (document, page, width, height);
}
+/**
+ * ev_document_get_page_size:
+ * @document: a #EvDocument
+ * @page_index: index of page
+ * @width: (out) (allow-none): return location for the width of the page, or %NULL
+ * @height: (out) (allow-none): return location for the height of the page, or %NULL
+ */
void
ev_document_get_page_size (EvDocument *document,
gint page_index,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]