Add some docs.

2006-06-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c: Add some docs.

	* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.

	* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
This commit is contained in:
Matthias Clasen 2006-06-08 01:25:43 +00:00 committed by Matthias Clasen
parent f9d3a6aba2
commit b5af7163a1
5 changed files with 26 additions and 4 deletions

View File

@ -1,5 +1,11 @@
2006-06-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c: Add some docs.
* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
* tests/testnotebookdnd.c: Update callers.
* gtk/gtknotebook.h:

View File

@ -1,5 +1,11 @@
2006-06-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c: Add some docs.
* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
* tests/testnotebookdnd.c: Update callers.
* gtk/gtknotebook.h:

View File

@ -2688,6 +2688,7 @@ gtk_print_job_get_track_print_status
gtk_print_error_quark
gtk_print_operation_get_type G_GNUC_CONST
gtk_print_operation_new
gtk_print_operation_set_allow_async
gtk_print_operation_set_default_page_setup
gtk_print_operation_get_default_page_setup
gtk_print_operation_set_print_settings

View File

@ -1025,7 +1025,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
*
* Determines whether the print operation may run asynchronous or not.
* Some systems don't support asynchronous printing, but those that do
* will return GTK_PRINT_OPERATION_RESULT_IN_PROGRESS as the status, and
* will return %GTK_PRINT_OPERATION_RESULT_IN_PROGRESS as the status, and
* emit the done signal when the operation is actually done.
*
* Since: 2.10
@ -1607,6 +1607,17 @@ gtk_print_operation_set_show_progress (GtkPrintOperation *op,
}
}
/**
* gtk_print_operation_set_allow_async:
* @op: a #GtkPrintOperation
* @allow_async: %TRUE to allow asynchronous operation
*
* Sets whether the gtk_print_operation_run() may return
* before the print operation is completed. Note that
* some platforms may not allow asynchronous operation.
*
* Since: 2.10
*/
void
gtk_print_operation_set_allow_async (GtkPrintOperation *op,
gboolean allow_async)

View File

@ -176,8 +176,6 @@ GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow
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,