summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlos@lanedo.com>2012-06-27 14:51:57 +0200
committerCarlos Garnacho <carlos@lanedo.com>2012-07-13 14:43:23 +0200
commitdb569cbee7e3842d802c5f1d53e28d0dde98ffeb (patch)
treec1f19737362742fde40b40ad7115329b42e5f45d
parentd101d4b862e8d8d92658b4b148cadd24a139f486 (diff)
downloadgtk+-db569cbee7e3842d802c5f1d53e28d0dde98ffeb.tar.gz
introspection: mark data in GtkCallback as closure
This is needed for so GtkContainer::forall() can be implemented in non-native code, and the callback gets the passed data if called. https://bugzilla.gnome.org/show_bug.cgi?id=644926#c28
-rw-r--r--gtk/gtkwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 94189dd97b..576d7e91b9 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -78,7 +78,7 @@ typedef GdkRectangle GtkAllocation;
/**
* GtkCallback:
* @widget: the widget to operate on
- * @data: user-supplied data
+ * @data: (closure): user-supplied data
*
* The type of the callback functions used for e.g. iterating over
* the children of a container, see gtk_container_foreach().