From ab9f1d7bbcb867d15494c2d763de94559edc0b6b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sun, 26 Oct 2008 12:11:11 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20530454=20=E2=80=93=20Clarify=20page=5Fnr?= =?UTF-8?q?=20when=20printing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-10-26 Philip Withnall 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 --- ChangeLog | 7 +++++++ gtk/gtkprintoperation.c | 4 ++-- 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 + + 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 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