forked from AuroraMiddleware/gtk
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:
parent
d101d4b862
commit
db569cbee7
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user