[poppler] glib/poppler-attachment.cc glib/poppler-document.cc glib/poppler-media.cc glib/poppler-page.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sat Feb 26 02:59:28 PST 2011


 glib/poppler-attachment.cc |    2 +-
 glib/poppler-document.cc   |    4 ++--
 glib/poppler-media.cc      |    2 +-
 glib/poppler-page.cc       |    6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit a6599dd1fda37186b876b5b2de80be1731dd5946
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sat Feb 26 11:59:03 2011 +0100

    glib: Add some more introspection annotations

diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc
index d3281ba..1218b9b 100644
--- a/glib/poppler-attachment.cc
+++ b/glib/poppler-attachment.cc
@@ -213,7 +213,7 @@ poppler_attachment_save (PopplerAttachment  *attachment,
 /**
  * poppler_attachment_save_to_callback:
  * @attachment: A #PopplerAttachment.
- * @save_func: a function that is called to save each block of data that the save routine generates.
+ * @save_func: (scope call): a function that is called to save each block of data that the save routine generates.
  * @user_data: user data to pass to the save function.
  * @error: (allow-none): return location for error, or %NULL.
  * 
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index 31d1566..fd764d8 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -715,8 +715,8 @@ poppler_document_get_pdf_version_string (PopplerDocument *document)
 /**
  * poppler_document_get_pdf_version:
  * @document: A #PopplerDocument
- * @major_version: (allow-none): return location for the PDF major version number
- * @minor_version: (allow-none): return location for the PDF minor version number
+ * @major_version: (out) (allow-none): return location for the PDF major version number
+ * @minor_version: (out) (allow-none): return location for the PDF minor version number
  *
  * Returns the major and minor PDF version numbers.
  *
diff --git a/glib/poppler-media.cc b/glib/poppler-media.cc
index a909dde..4c31b84 100644
--- a/glib/poppler-media.cc
+++ b/glib/poppler-media.cc
@@ -255,7 +255,7 @@ poppler_media_save (PopplerMedia *poppler_media,
 /**
  * poppler_media_save_to_callback:
  * @poppler_media: a #PopplerMedia
- * @save_func: a function that is called to save each block of data that the save routine generates.
+ * @save_func: (scope call): a function that is called to save each block of data that the save routine generates.
  * @user_data: user data to pass to the save function.
  * @error: (allow-none): return location for error, or %NULL.
  *
diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index 8fae398..8531bda 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -575,8 +575,8 @@ poppler_page_render_selection (PopplerPage           *page,
 /**
  * poppler_page_get_thumbnail_size:
  * @page: A #PopplerPage
- * @width: return location for width
- * @height: return location for height
+ * @width: (out) return location for width
+ * @height: (out) return location for height
  *
  * Returns %TRUE if @page has a thumbnail associated with it.  It also
  * fills in @width and @height with the width and height of the
@@ -1815,7 +1815,7 @@ poppler_page_get_crop_box (PopplerPage *page, PopplerRectangle *rect)
  * poppler_page_get_text_layout:
  * @page: A #PopplerPage
  * @rectangles: (out) (array length=n_rectangles) (transfer container): return location for an array of #PopplerRectangle
- * @n_rectangles: length of returned array
+ * @n_rectangles: (out) length of returned array
  *
  * Obtains the layout of the text as a list of #PopplerRectangle
  * This array must be freed with g_free () when done.


More information about the poppler mailing list