gtk+ r21714 - in trunk: . gtk



Author: pwithnall
Date: Sun Oct 26 12:11:11 2008
New Revision: 21714
URL: http://svn.gnome.org/viewvc/gtk+?rev=21714&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkprintoperation.c

Modified: trunk/gtk/gtkprintoperation.c
==============================================================================
--- trunk/gtk/gtkprintoperation.c	(original)
+++ trunk/gtk/gtkprintoperation.c	Sun Oct 26 12:11:11 2008
@@ -646,7 +646,7 @@
    * 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 @@
    * 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]