summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-06-07 15:09:03 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-06-07 15:09:03 +0000
commit9bea38595fcd9b4e9f55de3dcd5199dab930e713 (patch)
tree1c5d2d561965a275c566abc8f1a083cc5cf46976 /demos
parent36f7ed300ad786fc6ba88e9c7a7d771c689af06e (diff)
downloadgtk+-9bea38595fcd9b4e9f55de3dcd5199dab930e713.tar.gz
Clean up APIs: Make async a setting instead of separate calls. Combine
2006-06-07 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.[ch]: Clean up APIs: Make async a setting instead of separate calls. Combine settings like show_dialog, show_preview and pdf_target into an action enum that you pass to gtk_print_dialog_run(). * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * demos/gtk-demo/printing.c: Update to new APIs
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 63d5142b5d..d34c479cce 100644
--- a/demos/gtk-demo/printing.c
+++ b/demos/gtk-demo/printing.c
@@ -156,7 +156,7 @@ do_printing (GtkWidget *do_widget)
g_signal_connect (G_OBJECT (operation), "end-print",
G_CALLBACK (end_print), data);
- gtk_print_operation_run (operation, GTK_WINDOW (do_widget), &error);
+ gtk_print_operation_run (operation, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, GTK_WINDOW (do_widget), &error);
g_object_unref (operation);