[poppler] glib/poppler-document.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Thu Oct 7 09:29:06 PDT 2010


 glib/poppler-document.cc |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit a7cf8d322a4a687c9810a577cc92ff6b9725ecdc
Author: Fernando Herrera <fherrera at onirica.com>
Date:   Thu Oct 7 17:28:31 2010 +0200

    [glib] Fix introspection annotations for poppler_document_get_page*()
    
    Return value should be transfer full since the caller owns the only
    reference.

diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index e3bda12..7a08a68 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -429,9 +429,7 @@ poppler_document_get_n_pages (PopplerDocument *document)
  * Returns the #PopplerPage indexed at @index.  This object is owned by the
  * caller.
  *
- * #PopplerPage<!-- -->s are indexed starting at 0.
- * 
- * Return value: The #PopplerPage at @index
+ * Return value: (transfer full) : The #PopplerPage at @index
  **/
 PopplerPage *
 poppler_document_get_page (PopplerDocument  *document,
@@ -461,7 +459,7 @@ poppler_document_get_page (PopplerDocument  *document,
  *
  * By default, "1" refers to the first page.
  * 
- * Return value: The #PopplerPage referenced by @label
+ * Return value: (transfer full) :The #PopplerPage referenced by @label
  **/
 PopplerPage *
 poppler_document_get_page_by_label (PopplerDocument  *document,


More information about the poppler mailing list