[gi] don't skip gtk_menu_attach_to_widget, correctly annotate the async callback

This commit is contained in:
John (J5) Palmieri 2011-03-03 16:06:28 -05:00
parent cdf69b4bed
commit a47a7abe23

View File

@ -1184,11 +1184,11 @@ attach_widget_screen_changed (GtkWidget *attach_widget,
} }
/** /**
* gtk_menu_attach_to_widget: (skip) * gtk_menu_attach_to_widget:
* @menu: a #GtkMenu * @menu: a #GtkMenu
* @attach_widget: the #GtkWidget that the menu will be attached to * @attach_widget: the #GtkWidget that the menu will be attached to
* @detacher: the user supplied callback function that will be called * @detacher: (scope async)(allow-none): the user supplied callback function
* when the menu calls gtk_menu_detach() * that will be called when the menu calls gtk_menu_detach()
* *
* Attaches the menu to the widget and provides a callback function * Attaches the menu to the widget and provides a callback function
* that will be invoked when the menu calls gtk_menu_detach() during * that will be invoked when the menu calls gtk_menu_detach() during