From c459feaab114cecd04266050375badb7b58735c7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 12 May 2006 09:47:58 +0000 Subject: Fix build errors. 2006-05-12 Alexander Larsson * 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. --- tests/testnouiprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testnouiprint.c') diff --git a/tests/testnouiprint.c b/tests/testnouiprint.c index 3b0825b2ab..c640063b20 100644 --- a/tests/testnouiprint.c +++ b/tests/testnouiprint.c @@ -97,7 +97,7 @@ main (int argc, char **argv) print = gtk_print_operation_new (); gtk_print_operation_set_print_settings (print, settings); - gtk_print_operation_set_nr_of_pages (print, 1); + gtk_print_operation_set_n_pages (print, 1); gtk_print_operation_set_unit (print, GTK_UNIT_MM); gtk_print_operation_set_show_dialog (print, FALSE); g_signal_connect (print, "draw_page", G_CALLBACK (draw_page), NULL); -- cgit v1.2.1