nautilus r15070 - in trunk: . libnautilus-extension src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r15070 - in trunk: . libnautilus-extension src
- Date: Mon, 9 Mar 2009 10:16:53 +0000 (UTC)
Author: cosimoc
Date: Mon Mar 9 10:16:53 2009
New Revision: 15070
URL: http://svn.gnome.org/viewvc/nautilus?rev=15070&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/libnautilus-extension/nautilus-property-page-provider.c
trunk/src/nautilus-image-properties-page.c
trunk/src/nautilus-notes-viewer.c
Modified: trunk/libnautilus-extension/nautilus-property-page-provider.c
==============================================================================
--- trunk/libnautilus-extension/nautilus-property-page-provider.c (original)
+++ trunk/libnautilus-extension/nautilus-property-page-provider.c Mon Mar 9 10:16:53 2009
@@ -60,9 +60,22 @@
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);
Modified: trunk/src/nautilus-image-properties-page.c
==============================================================================
--- trunk/src/nautilus-image-properties-page.c (original)
+++ trunk/src/nautilus-image-properties-page.c Mon Mar 9 10:16:53 2009
@@ -583,17 +583,6 @@
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)
Modified: trunk/src/nautilus-notes-viewer.c
==============================================================================
--- trunk/src/nautilus-notes-viewer.c (original)
+++ trunk/src/nautilus-notes-viewer.c Mon Mar 9 10:16:53 2009
@@ -454,17 +454,6 @@
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]