diff options
author | Cosimo Cecchi <[email protected]> | 2012-01-16 10:28:40 -0500 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-04 22:54:36 +0200 |
commit | 69464ff40d770523036fabc56244763346f8df49 (patch) | |
tree | 5333eab1253680df00bdaea2d21699164fae749a /libcaja-extension/caja-menu.c | |
parent | a6ff3b7b6d7259403a2ab9b1d8a3b11b194b0bc6 (diff) | |
download | caja-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.c | 11 |
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) { |