summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gtk/gtkprintoperation.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 041b044bcc..0d7002b3a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-26 Philip Withnall <philip@tecnocode.co.uk>
+
+ Bug 530454 – Clarify page_nr when printing
+
+ * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
+ that page_nr is 0-based in the documentation.
+
2008-10-25 Matthias Clasen <mclasen@redhat.com>
Bug 557315 – stale clipboard target cache
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index fad74d3452..93df6caf0d 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -646,7 +646,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
* GtkPrintOperation::request-page-setup:
* @operation: the #GtkPrintOperation on which the signal was emitted
* @context: the #GtkPrintContext for the current operation
- * @page_nr: the number of the currently printed page
+ * @page_nr: the number of the currently printed page (0-based)
* @setup: the #GtkPageSetup
*
* Emitted once for every page that is printed, to give
@@ -671,7 +671,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
* GtkPrintOperation::draw-page:
* @operation: the #GtkPrintOperation on which the signal was emitted
* @context: the #GtkPrintContext for the current operation
- * @page_nr: the number of the currently printed page
+ * @page_nr: the number of the currently printed page (0-based)
*
* Emitted for every page that is printed. The signal handler
* must render the @page_nr's page onto the cairo context obtained