diff --git a/libgimpconfig/gimpconfig-params.h b/libgimpconfig/gimpconfig-params.h index ee7299c2ab..4bc4c45915 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