Commit e79c28b4 authored by Cosimo Cecchi's avatar Cosimo Cecchi

extension: add some more missing gir annotations

parent f04f79a4
......@@ -59,6 +59,12 @@ nautilus_column_provider_get_type (void)
return type;
}
/**
* nautilus_column_provider_get_columns:
* @provider: a #NautilusColumnProvider
*
* Returns: (element-type NautilusColumn) (transfer full): the provided #NautilusColumn objects
*/
GList *
nautilus_column_provider_get_columns (NautilusColumnProvider *provider)
{
......
......@@ -74,6 +74,14 @@ nautilus_menu_provider_get_type (void)
return type;
}
/**
* nautilus_menu_provider_get_file_items:
* @provider: a #NautilusMenuProvider
* @window: the parent #GtkWidget window
* @files: (element-type NautilusFileInfo): a list of #NautilusFileInfo
*
* Returns: (element-type NautilusMenuItem) (transfer full): the provided list of #NautilusMenuItem
*/
GList *
nautilus_menu_provider_get_file_items (NautilusMenuProvider *provider,
GtkWidget *window,
......@@ -89,6 +97,14 @@ nautilus_menu_provider_get_file_items (NautilusMenuProvider *provider,
}
}
/**
* nautilus_menu_provider_get_background_items:
* @provider: a #NautilusMenuProvider
* @window: the parent #GtkWidget window
* @current_folder: the folder for which background items are requested
*
* Returns: (element-type NautilusMenuItem) (transfer full): the provided list of #NautilusMenuItem
*/
GList *
nautilus_menu_provider_get_background_items (NautilusMenuProvider *provider,
GtkWidget *window,
......
......@@ -43,6 +43,12 @@ nautilus_menu_append_item (NautilusMenu *menu, NautilusMenuItem *item)
menu->priv->item_list = g_list_append (menu->priv->item_list, g_object_ref (item));
}
/**
* nautilus_menu_get_items:
* @menu: a #NautilusMenu
*
* Returns: (element-type NautilusMenuItem) (transfer full): the provided #NautilusMenuItem list
*/
GList *
nautilus_menu_get_items (NautilusMenu *menu)
{
......@@ -56,6 +62,11 @@ nautilus_menu_get_items (NautilusMenu *menu)
return item_list;
}
/**
* nautilus_menu_item_list_free:
* @item_list: (element-type NautilusMenuItem): a list of #NautilusMenuItem
*
*/
void
nautilus_menu_item_list_free (GList *item_list)
{
......
......@@ -63,7 +63,7 @@ nautilus_property_page_provider_get_type (void)
/**
* nautilus_property_page_provider_get_pages:
* @provider: a #NautilusPropertyPageProvider
* @files: a #GList of #NautilusFileInfo
* @files: (element-type NautilusFileInfo): a #GList of #NautilusFileInfo
*
* This function is called by Nautilus when it wants property page
* items from the extension.
......@@ -71,7 +71,7 @@ nautilus_property_page_provider_get_type (void)
* This function is called in the main thread before a property page
* is shown, so it should return quickly.
*
* Returns: A #GList of allocated #NautilusPropertyPage items.
* Returns: (element-type NautilusPropertyPage) (transfer full): A #GList of allocated #NautilusPropertyPage items.
*/
GList *
nautilus_property_page_provider_get_pages (NautilusPropertyPageProvider *provider,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment