[nautilus-actions] Test for NA_DISABLE_DEPRECATED deprecation define



commit 0f6b2dc63d048404a0a184989d68f6bccab3493c
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Jan 16 16:02:42 2011 +0100

    Test for NA_DISABLE_DEPRECATED deprecation define
    
    + src/api/na-data-boxed.h
    + src/api/na-data-types.h
    + src/api/na-gconf-monitor.h
    + src/api/na-gconf-utils.h

 ChangeLog                  |    7 +++++++
 src/api/na-data-boxed.h    |    2 ++
 src/api/na-data-types.h    |    2 ++
 src/api/na-gconf-monitor.h |    3 +++
 src/api/na-gconf-utils.h   |    2 ++
 5 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e0db540..70fda55 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,13 @@
 	* Makefile.am:
 	* configure.ac: configure in tools/.
 
+	* src/api/na-data-boxed.h:
+	* src/api/na-data-types.h:
+	* src/api/na-gconf-monitor.h:
+	* src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
+
+	* run-distcheck.sh: New file.
+
 	* tools/check-po.sh: Rewrite to have options and messages management.
 
 	* src/utils/na-gconf2key.sh.in: Review comment.
diff --git a/src/api/na-data-boxed.h b/src/api/na-data-boxed.h
index f76681a..26b91da 100644
--- a/src/api/na-data-boxed.h
+++ b/src/api/na-data-boxed.h
@@ -31,6 +31,7 @@
 #ifndef __NAUTILUS_ACTIONS_API_NA_DATA_BOXED_H__
 #define __NAUTILUS_ACTIONS_API_NA_DATA_BOXED_H__
 
+#ifndef NA_DISABLE_DEPRECATED
 /**
  * SECTION: data-boxed
  * @title: NADataBoxed
@@ -103,4 +104,5 @@ void         na_data_boxed_set_from_void  ( NADataBoxed *boxed, const void *valu
 
 G_END_DECLS
 
+#endif /* NA_DISABLE_DEPRECATED */
 #endif /* __NAUTILUS_ACTIONS_API_NA_DATA_BOXED_H__ */
diff --git a/src/api/na-data-types.h b/src/api/na-data-types.h
index 4c82c1e..1a757dc 100644
--- a/src/api/na-data-types.h
+++ b/src/api/na-data-types.h
@@ -31,6 +31,7 @@
 #ifndef __NAUTILUS_ACTIONS_API_NA_FACTORY_DATA_TYPES_H__
 #define __NAUTILUS_ACTIONS_API_NA_FACTORY_DATA_TYPES_H__
 
+#ifndef NA_DISABLE_DEPRECATED
 /**
  * SECTION: data-type
  * @title: NADataType
@@ -90,4 +91,5 @@ const gchar *na_data_types_get_gconf_dump_key( guint type );
 
 G_END_DECLS
 
+#endif /* NA_DISABLE_DEPRECATED */
 #endif /* __NAUTILUS_ACTIONS_API_NA_FACTORY_DATA_TYPES_H__ */
diff --git a/src/api/na-gconf-monitor.h b/src/api/na-gconf-monitor.h
index dece9a0..00df3ed 100644
--- a/src/api/na-gconf-monitor.h
+++ b/src/api/na-gconf-monitor.h
@@ -31,6 +31,8 @@
 #ifndef __NAUTILUS_ACTIONS_API_NA_GCONF_MONITOR_H__
 #define __NAUTILUS_ACTIONS_API_NA_GCONF_MONITOR_H__
 
+#ifndef NA_DISABLE_DEPRECATED
+
 /**
  * SECTION: gconf-monitor
  * @title: NAGConfMonitor
@@ -82,4 +84,5 @@ void            na_gconf_monitor_release_monitors( GList *monitors );
 
 G_END_DECLS
 
+#endif /* NA_DISABLE_DEPRECATED */
 #endif /* __NAUTILUS_ACTIONS_API_NA_GCONF_MONITOR_H__ */
diff --git a/src/api/na-gconf-utils.h b/src/api/na-gconf-utils.h
index 4fe90da..2774933 100644
--- a/src/api/na-gconf-utils.h
+++ b/src/api/na-gconf-utils.h
@@ -31,6 +31,7 @@
 #ifndef __NAUTILUS_ACTIONS_API_NA_GCONF_UTILS_H__
 #define __NAUTILUS_ACTIONS_API_NA_GCONF_UTILS_H__
 
+#ifndef NA_DISABLE_DEPRECATED
 /**
  * SECTION: gconf-utils
  * @title: GConf Misc
@@ -73,4 +74,5 @@ gchar   *na_gconf_utils_slist_to_string  ( GSList *slist );
 
 G_END_DECLS
 
+#endif /* NA_DISABLE_DEPRECATED */
 #endif /* __NAUTILUS_ACTIONS_API_NA_GCONF_UTILS_H__ */



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