[gtk+/gtk-3-4] menu: add missing (scope async) annotation to gtk_menu_popup()



commit 58f9d2324465e98f9dbbf28b94b983eee7797795
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed May 30 17:30:08 2012 -0400

    menu: add missing (scope async) annotation to gtk_menu_popup()
    
    Or the g-i scanner will emit a warning.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677127

 gtk/gtkmenu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 8760dcb..b2345a8 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]