]> Pileus Git - ~andy/gtk/commitdiff
menu: add missing (scope async) annotation to gtk_menu_popup()
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 May 2012 21:30:08 +0000 (17:30 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 25 Jun 2012 18:49:11 +0000 (14:49 -0400)
Or the g-i scanner will emit a warning.

https://bugzilla.gnome.org/show_bug.cgi?id=677127

gtk/gtkmenu.c

index ed4c5203e468b9a4dcb658628c5192b6faab9641..fb995aac455a28c48ac2e1cad16ae6cd4d51e2bb 100644 (file)
@@ -1719,7 +1719,7 @@ gtk_menu_popup_for_device (GtkMenu             *menu,
  *     triggering menu item, or %NULL
  * @parent_menu_item: (allow-none): the menu item whose activation
  *     triggered the popup, or %NULL
- * @func: (allow-none): a user supplied function used to position
+ * @func: (scope async) (allow-none): a user supplied function used to position
  *     the menu, or %NULL
  * @data: user supplied data to be passed to @func.
  * @button: the mouse button which was pressed to initiate the event.