Commit 72a49ea8 authored by Sven Herzberg's avatar Sven Herzberg Committed by Cosimo Cecchi

Bug 574546 – Document nautilus_property_page_provider_get_pages()

2009-03-08  Sven Herzberg  <herzi@lanedo.com>

	Bug 574546 – Document nautilus_property_page_provider_get_pages()

	* libnautilus-extension/nautilus-property-page-provider.c: document
	the function
	* src/nautilus-image-properties-page.c,
	* src/nautilus-notes-viewer.c: drop the function documentation, it's
	in the API reference now

svn path=/trunk/; revision=15070
parent 998a06a6
2009-03-08 Sven Herzberg <herzi@lanedo.com>
Bug 574546 – Document nautilus_property_page_provider_get_pages()
* libnautilus-extension/nautilus-property-page-provider.c: document
the function
* src/nautilus-image-properties-page.c,
* src/nautilus-notes-viewer.c: drop the function documentation, it's
in the API reference now
2009-03-08 Cosimo Cecchi <cosimoc@gnome.org>
* src/file-manager/fm-properties-window.c
......
......@@ -60,9 +60,22 @@ nautilus_property_page_provider_get_type (void)
return type;
}
/**
* nautilus_property_page_provider_get_pages:
* @provider: a #NautilusPropertyPageProvider
* @files: a #GList of #NautilusFileInfo
*
* This function is called by Nautilus when it wants property page
* items from the extension.
*
* 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.
*/
GList *
nautilus_property_page_provider_get_pages (NautilusPropertyPageProvider *provider,
GList *files)
GList *files)
{
g_return_val_if_fail (NAUTILUS_IS_PROPERTY_PAGE_PROVIDER (provider), NULL);
g_return_val_if_fail (NAUTILUS_PROPERTY_PAGE_PROVIDER_GET_IFACE (provider)->get_pages != NULL, NULL);
......
......@@ -583,17 +583,6 @@ nautilus_image_properties_page_init (NautilusImagePropertiesPage *page)
gtk_widget_show_all (GTK_WIDGET (page));
}
/* nautilus_property_page_provider_get_pages
*
* This function is called by Nautilus when it wants property page
* items from the extension.
*
* This function is called in the main thread before a property page
* is shown, so it should return quickly.
*
* The function should return a GList of allocated NautilusPropertyPage
* items.
*/
static GList *
get_property_pages (NautilusPropertyPageProvider *provider,
GList *files)
......
......@@ -454,17 +454,6 @@ nautilus_notes_viewer_create_sidebar (NautilusSidebarProvider *provider,
return NAUTILUS_SIDEBAR (sidebar);
}
/* nautilus_property_page_provider_get_pages
*
* This function is called by Nautilus when it wants property page
* items from the extension.
*
* This function is called in the main thread before a property page
* is shown, so it should return quickly.
*
* The function should return a GList of allocated NautilusPropertyPage
* items.
*/
static GList *
get_property_pages (NautilusPropertyPageProvider *provider,
GList *files)
......
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