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
This commit is contained in:
Carlos Garnacho 2012-06-27 14:51:57 +02:00
parent d101d4b862
commit db569cbee7

View File

@ -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().