Commit 38faf34c authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

removed COMPAT_CRUFT

2000-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gap/iter_ALT/*/*.inc: removed COMPAT_CRUFT

	* libgimp/gimpcompat.h
	* libgimp/gimpenums.h
	* tools/pdbgen/enumcode.pl: reversed the COMPAT_CRUFT logic:
	Default is not to include compatibility definitions. Define
	GIMP_ENABLE_COMPAT_CRUFT to make old plug-ins compile against
	the 1.2 API.

	* plug-ins/print/print_gimp.h: define GIMP_ENABLE_COMPAT_CRUFT
	here since we will update gimp-print in a few days anyway.
parent 75b96a82
2000-08-24 Sven Neumann <sven@gimp.org>
* plug-ins/gap/iter_ALT/*/*.inc: removed COMPAT_CRUFT
* libgimp/gimpcompat.h
* libgimp/gimpenums.h
* tools/pdbgen/enumcode.pl: reversed the COMPAT_CRUFT logic:
Default is not to include compatibility definitions. Define
GIMP_ENABLE_COMPAT_CRUFT to make old plug-ins compile against
the 1.2 API.
* plug-ins/print/print_gimp.h: define GIMP_ENABLE_COMPAT_CRUFT
here since we will update gimp-print in a few days anyway.
2000-08-24 Sven Neumann <sven@gimp.org>
 
* plug-ins/rcm/rcm.[ch]
......
......@@ -26,7 +26,7 @@ extern "C" {
/* some compatibility defines for older plug-ins */
#ifndef GIMP_DISABLE_COMPAT_H
#ifdef GIMP_ENABLE_COMPAT_CRUFT
#define gimp_attach_parasite gimp_parasite_attach
#define gimp_detach_parasite gimp_parasite_detach
......@@ -106,7 +106,7 @@ extern "C" {
#define GParamDef GimpParamDef
#define GParam GimpParam
#endif /* GIMP_DISABLE_COMPAT_H */
#endif /* GIMP_ENABLE_COMPAT_CRUFT */
#ifdef __cplusplus
......
......@@ -341,7 +341,7 @@ typedef enum
/* This is for backwards compatibility. Don't use these for new plug-ins. */
#ifndef GIMP_DISABLE_COMPAT_CRUFT
#ifdef GIMP_ENABLE_COMPAT_CRUFT
typedef GimpFillType GFillType;
typedef GimpImageBaseType GImageType;
......@@ -430,7 +430,7 @@ typedef GimpPDBStatusType GStatusType;
#define RUN_NONINTERACTIVE GIMP_RUN_NONINTERACTIVE
#define RUN_WITH_LAST_VALS GIMP_RUN_WITH_LAST_VALS
#endif /* GIMP_DISABLE_COMPAT_CRUFT */
#endif /* GIMP_ENABLE_COMPAT_CRUFT */
#ifdef __cplusplus
}
......
......@@ -2,7 +2,7 @@
* p_plug_in_CML_explorer_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_CML_explorer_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_CML_explorer_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_CML_explorer_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_alpha2color_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_alpha2color_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_alpha2color_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_alpha2color_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_blinds_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_blinds_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_blinds_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_blinds_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_borderaverage_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_borderaverage_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_borderaverage_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_borderaverage_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_checkerboard_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_checkerboard_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_checkerboard_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_checkerboard_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_color_map_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_color_map_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_color_map_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_color_map_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_colorify_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_colorify_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_colorify_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_colorify_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_cubism_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_cubism_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_cubism_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_cubism_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_destripe_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_destripe_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_destripe_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_destripe_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_diffraction_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_diffraction_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_diffraction_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_diffraction_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_displace_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_displace_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_displace_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_displace_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_edge_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_edge_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_edge_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_edge_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_engrave_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_engrave_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_engrave_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_engrave_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_flarefx_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_flarefx_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_flarefx_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_flarefx_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_fractal_trace_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_fractal_trace_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_fractal_trace_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_fractal_trace_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_gauss_iir2_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_gauss_iir2_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_gauss_iir2_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_gauss_iir2_Vals
{
......
......@@ -2,7 +2,7 @@
* p_plug_in_gauss_iir_iter_ALT
* ----------------------------------------------------------------------
*/
gint p_plug_in_gauss_iir_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
gint p_plug_in_gauss_iir_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{
typedef struct t_plug_in_gauss_iir_Vals
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment