summaryrefslogtreecommitdiff
path: root/gtk/gtkprintsettings.h
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 /gtk/gtkprintsettings.h
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 'gtk/gtkprintsettings.h')
-rw-r--r--gtk/gtkprintsettings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkprintsettings.h b/gtk/gtkprintsettings.h
index 5254434878..2c53c70268 100644
--- a/gtk/gtkprintsettings.h
+++ b/gtk/gtkprintsettings.h
@@ -92,7 +92,7 @@ void gtk_print_settings_set_int (GtkPrintSettings
#define GTK_PRINT_SETTINGS_PAPER_FORMAT "paper-format"
#define GTK_PRINT_SETTINGS_PAPER_WIDTH "paper-width"
#define GTK_PRINT_SETTINGS_PAPER_HEIGHT "paper-height"
-#define GTK_PRINT_SETTINGS_NUM_COPIES "num-copies"
+#define GTK_PRINT_SETTINGS_N_COPIES "n-copies"
#define GTK_PRINT_SETTINGS_DEFAULT_SOURCE "default-source"
#define GTK_PRINT_SETTINGS_QUALITY "quality"
#define GTK_PRINT_SETTINGS_RESOLUTION "resolution"
@@ -150,8 +150,8 @@ void gtk_print_settings_set_duplex (GtkPrintSettings *se
GtkPrintQuality gtk_print_settings_get_quality (GtkPrintSettings *settings);
void gtk_print_settings_set_quality (GtkPrintSettings *settings,
GtkPrintQuality quality);
-gint gtk_print_settings_get_num_copies (GtkPrintSettings *settings);
-void gtk_print_settings_set_num_copies (GtkPrintSettings *settings,
+gint gtk_print_settings_get_n_copies (GtkPrintSettings *settings);
+void gtk_print_settings_set_n_copies (GtkPrintSettings *settings,
gint num_copies);
gint gtk_print_settings_get_number_up (GtkPrintSettings *settings);
void gtk_print_settings_set_number_up (GtkPrintSettings *settings,