summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-unix.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-04-24 05:42:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-24 05:42:12 +0000
commit0d10969b9fc8635d46153351a3bdbca3ae4fe271 (patch)
treee0c9af0e2d673adf64d95eff4d0c0f1d5055f22c /gtk/gtkprintoperation-unix.c
parentbb23cebf1b5c572c68231f661268205ff892696b (diff)
downloadgdk-pixbuf-0d10969b9fc8635d46153351a3bdbca3ae4fe271.tar.gz
Match parameter names with the headers.
2006-04-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkclipboard.h: * gtk/gtkprinter.c: * gtk/gtkprintsettings.h: * gtk/gtkprintsettings.c: Match parameter names with the headers. * gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog): Add docs. * gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize): * gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type): * gtk/gtktreeview.c (gtk_tree_view_set_search_position_func): * gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable): * gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new): * gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
Diffstat (limited to 'gtk/gtkprintoperation-unix.c')
-rw-r--r--gtk/gtkprintoperation-unix.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 936bc521a..1257fc0db 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -215,6 +215,22 @@ _gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op,
return result;
}
+/**
+ * gtk_print_run_page_setup_dialog:
+ * @parent: transient parent, or %NULL
+ * @page_setup: an existing #GtkPageSetup, or %NULL
+ * @settings: a #GtkPrintSettings
+ *
+ * Runs a page setup dialog, letting the user modify
+ * the values from @page_setup. If the user cancels
+ * the dialog, the returned #GtkPageSetup is identical
+ * to the passed in @page_setup, otherwise it contains
+ * the modifications done in the dialog.
+ *
+ * Return value: a new #GtkPageSetup
+ *
+ * Since: 2.10
+ */
GtkPageSetup *
gtk_print_run_page_setup_dialog (GtkWindow *parent,
GtkPageSetup *page_setup,