summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 10:10:30 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 13:57:20 +0100
commit2fb1c064020c5db189285b1d5e8b8dcea8e9d09b (patch)
treec7d26238efe9c5cad53cd7431d2f2eac5dfed7ea /gtk/gtkprintjob.c
parent2f0d40335b83d70d04a205dd17e8a5514b79f2d4 (diff)
downloadgtk+-2fb1c064020c5db189285b1d5e8b8dcea8e9d09b.tar.gz
[GI] Add missing (out) and (array) annotations
Diffstat (limited to 'gtk/gtkprintjob.c')
-rw-r--r--gtk/gtkprintjob.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c
index 062beaf19c..634e6b45ca 100644
--- a/gtk/gtkprintjob.c
+++ b/gtk/gtkprintjob.c
@@ -749,7 +749,8 @@ gtk_print_job_set_pages (GtkPrintJob *job,
*
* Gets the page ranges for this job.
*
- * Returns: a pointer to an array of #GtkPageRange structs
+ * Returns: (array length=n_ranges) (transfer none): a pointer to an
+ * array of #GtkPageRange structs
*
* Since: 3.0
*/
@@ -764,7 +765,9 @@ gtk_print_job_get_page_ranges (GtkPrintJob *job,
/**
* gtk_print_job_set_page_ranges:
* @job: a #GtkPrintJob
- * @ranges: pointer to an array of #GtkPageRange structs
+
+ * @ranges: (array length=n_ranges): pointer to an array of
+ * #GtkPageRange structs
* @n_ranges: the length of the @ranges array
*
* Sets the page ranges for this job.