Bug 530454 – Clarify page_nr when printing

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.


svn path=/trunk/; revision=21714
This commit is contained in:
Philip Withnall 2008-10-26 12:11:11 +00:00 committed by Philip Withnall
parent 2db879fe87
commit ab9f1d7bbc
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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