forgotten files

This commit is contained in:
Matthias Clasen 2006-04-24 20:44:22 +00:00
parent 894305cdd8
commit 7437609ec3
2 changed files with 15 additions and 6 deletions

View File

@ -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 * @done_cb: a function to call when the user saves the modified page setup
* @data: user data to pass to @done_cb * @data: user data to pass to @done_cb
* *
* Runs a page setup dialog, letting the user modify the values from * Runs a page setup dialog, letting the user modify the values from @page_setup.
* @page_setup.
* *
* In contrast to gtk_print_run_page_setup_dialog(), this function * In contrast to gtk_print_run_page_setup_dialog(), this function returns after
* returns after showing the page setup dialog on platforms that support * showing the page setup dialog on platforms that support this, and calls @done_cb
* this, and calls @done_cb from a signal handler for the ::response * from a signal handler for the ::response signal of the dialog.
* signal of the dialog.
* *
* Since: 2.10 * Since: 2.10
*/ */

View File

@ -139,6 +139,17 @@ GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow
GtkPageSetup *page_setup, GtkPageSetup *page_setup,
GtkPrintSettings *settings); 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 G_END_DECLS
#endif /* __GTK_PRINT_OPERATION_H__ */ #endif /* __GTK_PRINT_OPERATION_H__ */