summaryrefslogtreecommitdiff
path: root/demos
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 /demos
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 'demos')
-rw-r--r--demos/gtk-demo/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/printing.c b/demos/gtk-demo/printing.c
index 9940d3351b..4ddeeaa148 100644
--- a/demos/gtk-demo/printing.c
+++ b/demos/gtk-demo/printing.c
@@ -49,7 +49,7 @@ begin_print (GtkPrintOperation *operation,
data->num_lines = i;
data->num_pages = (data->num_lines - 1) / data->lines_per_page + 1;
- gtk_print_operation_set_nr_of_pages (operation, data->num_pages);
+ gtk_print_operation_set_n_pages (operation, data->num_pages);
}
static void