summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.h
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 06:28:24 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 17:20:32 +0100
commit729c82395539897e276f4dec41550de9b2a0db88 (patch)
tree8494100959c1ffd50741a9fe8909d6cca7e63745 /gtk/gtkprintoperation.h
parent714d9bc4078898bfb9513e5e17c2bb3c935eef5f (diff)
downloadgtk+-729c82395539897e276f4dec41550de9b2a0db88.tar.gz
[GI] Mark callbacks' context parameter with (closure) annotation.
Diffstat (limited to 'gtk/gtkprintoperation.h')
-rw-r--r--gtk/gtkprintoperation.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h
index bba15cc632..5c2b2167e8 100644
--- a/gtk/gtkprintoperation.h
+++ b/gtk/gtkprintoperation.h
@@ -196,6 +196,17 @@ GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow
GtkPageSetup *page_setup,
GtkPrintSettings *settings);
+/**
+ * GtkPageSetupDoneFunc:
+ * @page_setup: the #GtkPageSetup that has been
+ * @data: (closure): user data that has been passed to
+ * gtk_print_run_page_setup_dialog_async().
+ *
+ * The type of function that is passed to
+ * gtk_print_run_page_setup_dialog_async(). This function will be
+ * called when the page setup dialog is dismissed, and also serves as
+ * destroy notify for @data.
+ */
typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup,
gpointer data);