[gnome-menus] gi: Add/Fix annotations to remove introspection warnings



commit cfb20fb779eeed93a0c9571a8340251c8964ef69
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Jun 8 17:44:16 2011 +0200

    gi: Add/Fix annotations to remove introspection warnings

 libmenu/gmenu-tree.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libmenu/gmenu-tree.c b/libmenu/gmenu-tree.c
index 8498d2a..7f65e47 100644
--- a/libmenu/gmenu-tree.c
+++ b/libmenu/gmenu-tree.c
@@ -735,7 +735,7 @@ gmenu_tree_invoke_monitors (GMenuTree *tree)
 
 /**
  * gmenu_tree_directory_get_parent:
- * @entry: a #GMenuTreeDirectory
+ * @directory: a #GMenuTreeDirectory
  *
  * Returns: (transfer full): The parent directory, or %NULL if none
  */
@@ -1360,6 +1360,12 @@ gmenu_tree_entry_compare_by_id (GMenuTreeItem *a,
                  GMENU_TREE_ENTRY (b)->desktop_file_id);
 }
 
+/**
+ * gmenu_tree_item_ref:
+ * @item: a #GMenuTreeItem
+ *
+ * Returns: (transfer full): The same @item, or %NULL if @item is not a valid #GMenuTreeItem
+ */
 gpointer
 gmenu_tree_item_ref (gpointer itemp)
 {



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