summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 10:01:17 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 13:57:18 +0100
commit2f0d40335b83d70d04a205dd17e8a5514b79f2d4 (patch)
treee154bd17faf149c40807461f9e671983e32b6f82 /gtk/gtkmenu.c
parent9b88eb356dde2578ff652511fcfc083b66be7b0b (diff)
downloadgtk+-2f0d40335b83d70d04a205dd17e8a5514b79f2d4.tar.gz
[GI] Add missing (transfer) annotations
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 0a125adacc..929983001a 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -1251,7 +1251,7 @@ gtk_menu_attach_to_widget (GtkMenu *menu,
*
* Returns the #GtkWidget that the menu is attached to.
*
- * Returns: the #GtkWidget that the menu is attached to
+ * Returns: (transfer none): the #GtkWidget that the menu is attached to
*/
GtkWidget*
gtk_menu_get_attach_widget (GtkMenu *menu)
@@ -1889,9 +1889,9 @@ gtk_menu_popdown (GtkMenu *menu)
* Returns the selected menu item from the menu. This is used by the
* #GtkOptionMenu.
*
- * Returns: the #GtkMenuItem that was last selected in the menu. If a
- * selection has not yet been made, the first menu item is
- * selected.
+ * Returns: (transfer none): the #GtkMenuItem that was last selected
+ * in the menu. If a selection has not yet been made, the
+ * first menu item is selected.
*/
GtkWidget*
gtk_menu_get_active (GtkMenu *menu)
@@ -1995,7 +1995,7 @@ gtk_menu_set_accel_group (GtkMenu *menu,
* Gets the #GtkAccelGroup which holds global accelerators for the
* menu. See gtk_menu_set_accel_group().
*
- * Returns: the #GtkAccelGroup associated with the menu.
+ * Returns: (transfer none): the #GtkAccelGroup associated with the menu.
*/
GtkAccelGroup*
gtk_menu_get_accel_group (GtkMenu *menu)