[gimp] libgimpconfig: deprecate all GIMP_CONFIG_INSTALL_PROP_FOO() macros



commit f11e1d141d0138d0a552845a618a973c4614d9fd
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 17 00:12:33 2016 +0100

    libgimpconfig: deprecate all GIMP_CONFIG_INSTALL_PROP_FOO() macros

 libgimpconfig/gimpconfig-params.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgimpconfig/gimpconfig-params.h b/libgimpconfig/gimpconfig-params.h
index ee7299c..4bc4c45 100644
--- a/libgimpconfig/gimpconfig-params.h
+++ b/libgimpconfig/gimpconfig-params.h
@@ -173,6 +173,8 @@ G_BEGIN_DECLS
 
 /*  deprecated macros, they all lack the "nick" parameter  */
 
+#ifndef GIMP_DISABLE_DEPRECATED
+
 #define GIMP_CONFIG_INSTALL_PROP_BOOLEAN(class, id, name, blurb, default, flags) \
   GIMP_CONFIG_PROP_BOOLEAN(class, id, name, NULL, blurb, default, flags);
 
@@ -218,6 +220,8 @@ G_BEGIN_DECLS
 #define GIMP_CONFIG_INSTALL_PROP_POINTER(class, id, name, blurb, flags) \
   GIMP_CONFIG_PROP_POINTER(class, id, name, NULL, blurb, flags)
 
+#endif /* GIMP_DISABLE_DEPRECATED */
+
 
 G_END_DECLS
 


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