summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-menu.c
diff options
context:
space:
mode:
authorCosimo Cecchi <[email protected]>2012-01-16 10:28:40 -0500
committerinfirit <[email protected]>2014-10-04 22:54:36 +0200
commit69464ff40d770523036fabc56244763346f8df49 (patch)
tree5333eab1253680df00bdaea2d21699164fae749a /libcaja-extension/caja-menu.c
parenta6ff3b7b6d7259403a2ab9b1d8a3b11b194b0bc6 (diff)
downloadcaja-69464ff40d770523036fabc56244763346f8df49.tar.bz2
caja-69464ff40d770523036fabc56244763346f8df49.tar.xz
extension: add some more missing gir annotations
Diffstat (limited to 'libcaja-extension/caja-menu.c')
-rw-r--r--libcaja-extension/caja-menu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcaja-extension/caja-menu.c b/libcaja-extension/caja-menu.c
index 5f0c06b4..f6f15f20 100644
--- a/libcaja-extension/caja-menu.c
+++ b/libcaja-extension/caja-menu.c
@@ -44,6 +44,12 @@ caja_menu_append_item (CajaMenu *menu, CajaMenuItem *item)
menu->priv->item_list = g_list_append (menu->priv->item_list, g_object_ref (item));
}
+/**
+ * caja_menu_get_items:
+ * @menu: a #CajaMenu
+ *
+ * Returns: (element-type CajaMenuItem) (transfer full): the provided #CajaMenuItem list
+ */
GList *
caja_menu_get_items (CajaMenu *menu)
{
@@ -57,6 +63,11 @@ caja_menu_get_items (CajaMenu *menu)
return item_list;
}
+/**
+ * caja_menu_item_list_free:
+ * @item_list: (element-type CajaMenuItem): a list of #CajaMenuItem
+ *
+ */
void
caja_menu_item_list_free (GList *item_list)
{