[nautilus-actions] Make the desktop I/O provider only loadable in maintainer mode



commit ef6d66c934d70d2b9ba03b742ace56e423e0ad3a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Dec 16 22:47:14 2009 +0100

    Make the desktop I/O provider only loadable in maintainer mode

 ChangeLog                                          |    3 +++
 nautilus-actions/io-provider-desktop/nadp-module.c |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1401c6a..c6809c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-12-16 Pierre Wieser <pwieser trychlos org>
 
+	* nautilus-actions/io-provider-desktop/nadp-module.c:
+	Make the desktop I/O provider only loadable in maintainer mode.
+
 	* po/POTFILES.in: Fix typo.
 
 	* nautilus-actions/api/na-api.h (na_api_module_get_name):
diff --git a/nautilus-actions/io-provider-desktop/nadp-module.c b/nautilus-actions/io-provider-desktop/nadp-module.c
index f51466f..e70ef31 100644
--- a/nautilus-actions/io-provider-desktop/nadp-module.c
+++ b/nautilus-actions/io-provider-desktop/nadp-module.c
@@ -43,6 +43,8 @@
  *
  * mandatory starting with API v. 1.
  */
+/* TODO: remove this when we will be ready to release the desktop provider */
+#ifdef NA_MAINTAINER_MODE
 gboolean
 na_api_module_init( GTypeModule *module )
 {
@@ -54,6 +56,7 @@ na_api_module_init( GTypeModule *module )
 
 	return( TRUE );
 }
+#endif
 
 /*
  * na_api_module_get_version:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]