gtk: fix many callback annotations to include closure information

Without this information introspection-based consumers don't realize
they can include context information, but instead think that they
receive an extra gpointer argument (which they don't know how to
handle).

https://bugzilla.gnome.org/show_bug.cgi?id=730745
This commit is contained in:
Evan Nemerson
2014-05-26 09:24:00 -07:00
parent 2388c69f0c
commit e568903360
11 changed files with 21 additions and 12 deletions

View File

@ -38,7 +38,8 @@ G_BEGIN_DECLS
* GtkTranslateFunc:
* @path: The id of the message. In #GtkActionGroup this will be a label
* or tooltip from a #GtkActionEntry.
* @func_data: user data passed in when registering the function
* @func_data: (closure): user data passed in when registering the
* function
*
* The function used to translate messages in e.g. #GtkIconFactory
* and #GtkActionGroup.