summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-04-24 20:44:22 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-24 20:44:22 +0000
commit7437609ec31035ae6aa3de2194078d9c22f97bd2 (patch)
treebd4b9d7fcaf2bc2b2b7b451a114e9b2943af3af8
parent894305cdd8e9d7a98d8f91ff03de61de6146a727 (diff)
downloadgtk+-7437609ec31035ae6aa3de2194078d9c22f97bd2.tar.gz
forgotten files
-rw-r--r--gtk/gtkprintoperation-unix.c10
-rw-r--r--gtk/gtkprintoperation.h11
2 files changed, 15 insertions, 6 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 469e81cc74..ffecd75fc3 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -412,13 +412,11 @@ gtk_print_run_page_setup_dialog (GtkWindow *parent,
* @done_cb: a function to call when the user saves the modified page setup
* @data: user data to pass to @done_cb
*
- * Runs a page setup dialog, letting the user modify the values from
- * @page_setup.
+ * Runs a page setup dialog, letting the user modify the values from @page_setup.
*
- * In contrast to gtk_print_run_page_setup_dialog(), this function
- * returns after showing the page setup dialog on platforms that support
- * this, and calls @done_cb from a signal handler for the ::response
- * signal of the dialog.
+ * In contrast to gtk_print_run_page_setup_dialog(), this function returns after
+ * showing the page setup dialog on platforms that support this, and calls @done_cb
+ * from a signal handler for the ::response signal of the dialog.
*
* Since: 2.10
*/
diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h
index f6a1f3df08..01a7fa59b7 100644
--- a/gtk/gtkprintoperation.h
+++ b/gtk/gtkprintoperation.h
@@ -139,6 +139,17 @@ GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow
GtkPageSetup *page_setup,
GtkPrintSettings *settings);
+typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup,
+ gpointer data);
+
+void gtk_print_operation_run_async (GtkPrintOperation *op,
+ GtkWindow *parent);
+void gtk_print_run_page_setup_dialog_async (GtkWindow *parent,
+ GtkPageSetup *page_setup,
+ GtkPrintSettings *settings,
+ GtkPageSetupDoneFunc done_cb,
+ gpointer data);
+
G_END_DECLS
#endif /* __GTK_PRINT_OPERATION_H__ */