summaryrefslogtreecommitdiff
path: root/tests/testprintfileoperation.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-05-12 09:47:58 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-05-12 09:47:58 +0000
commitc459feaab114cecd04266050375badb7b58735c7 (patch)
treeb6f0c5f24be1495685977f8ea707468169b1d167 /tests/testprintfileoperation.c
parentdc918cbf7594de9c5f23ddb1bae253b4a6b8cd74 (diff)
downloadgtk+-c459feaab114cecd04266050375badb7b58735c7.tar.gz
Fix build errors.
2006-05-12 Alexander Larsson <alexl@redhat.com> * gtk/gtkrecentmanager.c: Fix build errors. * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Rename functions from nr_of_pages to n_pages, and num_copies to n_copies to match other gtk+ names. * gtk/gtkmenu.c: (gtk_menu_popdown): Only re-set window group on popdown if we set it on popup (i.e. if there is a parent menu shell). Fixed part of bug #340401 * gtk/gtkwindow.c: Add (contruct) property "transient-for" to GtkWindow. This is needed for the fix to bug #340401. * gtk/gtkprintunixdialog.c: Use the transient-for property on construction and populate the dialog with widgets after that. This fixes bug #340401. More n_pages renames.
Diffstat (limited to 'tests/testprintfileoperation.c')
-rw-r--r--tests/testprintfileoperation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testprintfileoperation.c b/tests/testprintfileoperation.c
index e1c4b5a7d8..e511eb3b69 100644
--- a/tests/testprintfileoperation.c
+++ b/tests/testprintfileoperation.c
@@ -70,7 +70,7 @@ test_print_file_operation_begin_print (GtkPrintOperation *operation, GtkPrintCon
op->num_lines = i;
op->num_pages = (op->num_lines - 1) / op->lines_per_page + 1;
- gtk_print_operation_set_nr_of_pages (operation, op->num_pages);
+ gtk_print_operation_set_n_pages (operation, op->num_pages);
}
static void