summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2011-03-03 16:06:28 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2011-03-03 16:06:28 -0500
commita47a7abe23775815c55543d4a834452406441b86 (patch)
treed0cada0e09ae20611a04cf3d567bfad69b8f7141 /gtk/gtkmenu.c
parentcdf69b4bede018994230590acd856ab56465d09b (diff)
downloadgtk+-a47a7abe23775815c55543d4a834452406441b86.tar.gz
[gi] don't skip gtk_menu_attach_to_widget, correctly annotate the async callback
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 94ba3cd108..9ed6423764 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -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
* @attach_widget: the #GtkWidget that the menu will be attached to
- * @detacher: the user supplied callback function that will be called
- * when the menu calls gtk_menu_detach()
+ * @detacher: (scope async)(allow-none): the user supplied callback function
+ * that will be called when the menu calls gtk_menu_detach()
*
* Attaches the menu to the widget and provides a callback function
* that will be invoked when the menu calls gtk_menu_detach() during