Commit db569cbe authored by Carlos Garnacho's avatar Carlos Garnacho

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
parent d101d4b8
...@@ -78,7 +78,7 @@ typedef GdkRectangle GtkAllocation; ...@@ -78,7 +78,7 @@ typedef GdkRectangle GtkAllocation;
/** /**
* GtkCallback: * GtkCallback:
* @widget: the widget to operate on * @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 type of the callback functions used for e.g. iterating over
* the children of a container, see gtk_container_foreach(). * the children of a container, see gtk_container_foreach().
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment