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.
This commit is contained in:
Sven Neumann 2000-08-24 00:04:57 +00:00 committed by Sven Neumann
parent 75b96a8257
commit 38faf34c48
89 changed files with 109 additions and 91 deletions

View File

@ -1,3 +1,17 @@
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> 2000-08-24 Sven Neumann <sven@gimp.org>
* plug-ins/rcm/rcm.[ch] * plug-ins/rcm/rcm.[ch]

View File

@ -26,7 +26,7 @@ extern "C" {
/* some compatibility defines for older plug-ins */ /* 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_attach_parasite gimp_parasite_attach
#define gimp_detach_parasite gimp_parasite_detach #define gimp_detach_parasite gimp_parasite_detach
@ -106,7 +106,7 @@ extern "C" {
#define GParamDef GimpParamDef #define GParamDef GimpParamDef
#define GParam GimpParam #define GParam GimpParam
#endif /* GIMP_DISABLE_COMPAT_H */ #endif /* GIMP_ENABLE_COMPAT_CRUFT */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -341,7 +341,7 @@ typedef enum
/* This is for backwards compatibility. Don't use these for new plug-ins. */ /* 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 GimpFillType GFillType;
typedef GimpImageBaseType GImageType; typedef GimpImageBaseType GImageType;
@ -430,7 +430,7 @@ typedef GimpPDBStatusType GStatusType;
#define RUN_NONINTERACTIVE GIMP_RUN_NONINTERACTIVE #define RUN_NONINTERACTIVE GIMP_RUN_NONINTERACTIVE
#define RUN_WITH_LAST_VALS GIMP_RUN_WITH_LAST_VALS #define RUN_WITH_LAST_VALS GIMP_RUN_WITH_LAST_VALS
#endif /* GIMP_DISABLE_COMPAT_CRUFT */ #endif /* GIMP_ENABLE_COMPAT_CRUFT */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -2,7 +2,7 @@
* p_plug_in_CML_explorer_iter_ALT * 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 typedef struct t_plug_in_CML_explorer_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_alpha2color_iter_ALT * 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 typedef struct t_plug_in_alpha2color_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_blinds_iter_ALT * 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 typedef struct t_plug_in_blinds_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_borderaverage_iter_ALT * 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 typedef struct t_plug_in_borderaverage_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_checkerboard_iter_ALT * 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 typedef struct t_plug_in_checkerboard_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_color_map_iter_ALT * 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 typedef struct t_plug_in_color_map_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_colorify_iter_ALT * 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 typedef struct t_plug_in_colorify_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_cubism_iter_ALT * 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 typedef struct t_plug_in_cubism_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_destripe_iter_ALT * 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 typedef struct t_plug_in_destripe_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_diffraction_iter_ALT * 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 typedef struct t_plug_in_diffraction_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_displace_iter_ALT * 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 typedef struct t_plug_in_displace_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_edge_iter_ALT * 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 typedef struct t_plug_in_edge_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_engrave_iter_ALT * 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 typedef struct t_plug_in_engrave_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_flarefx_iter_ALT * 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 typedef struct t_plug_in_flarefx_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_fractal_trace_iter_ALT * 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 typedef struct t_plug_in_fractal_trace_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gauss_iir2_iter_ALT * 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 typedef struct t_plug_in_gauss_iir2_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gauss_iir_iter_ALT * 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 typedef struct t_plug_in_gauss_iir_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gauss_rle2_iter_ALT * p_plug_in_gauss_rle2_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_gauss_rle2_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_gauss_rle2_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_gauss_rle2_Vals typedef struct t_plug_in_gauss_rle2_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gauss_rle_iter_ALT * p_plug_in_gauss_rle_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_gauss_rle_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_gauss_rle_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_gauss_rle_Vals typedef struct t_plug_in_gauss_rle_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gfig_iter_ALT * p_plug_in_gfig_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_gfig_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_gfig_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_gfig_Vals typedef struct t_plug_in_gfig_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_glasstile_iter_ALT * p_plug_in_glasstile_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_glasstile_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_glasstile_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_glasstile_Vals typedef struct t_plug_in_glasstile_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_grid_iter_ALT * p_plug_in_grid_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_grid_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_grid_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_grid_Vals typedef struct t_plug_in_grid_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_jigsaw_iter_ALT * p_plug_in_jigsaw_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_jigsaw_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_jigsaw_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_jigsaw_Vals typedef struct t_plug_in_jigsaw_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_mblur_iter_ALT * p_plug_in_mblur_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_mblur_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_mblur_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_mblur_Vals typedef struct t_plug_in_mblur_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_mosaic_iter_ALT * p_plug_in_mosaic_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_mosaic_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_mosaic_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_mosaic_Vals typedef struct t_plug_in_mosaic_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_newsprint_iter_ALT * p_plug_in_newsprint_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_newsprint_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_newsprint_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_newsprint_Vals typedef struct t_plug_in_newsprint_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_noisify_iter_ALT * p_plug_in_noisify_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_noisify_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_noisify_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_noisify_Vals typedef struct t_plug_in_noisify_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_pixelize_iter_ALT * p_plug_in_pixelize_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_pixelize_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_pixelize_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_pixelize_Vals typedef struct t_plug_in_pixelize_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_randomize_hurl_iter_ALT * p_plug_in_randomize_hurl_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_randomize_hurl_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_randomize_hurl_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_randomize_hurl_Vals typedef struct t_plug_in_randomize_hurl_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_randomize_pick_iter_ALT * p_plug_in_randomize_pick_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_randomize_pick_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_randomize_pick_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_randomize_pick_Vals typedef struct t_plug_in_randomize_pick_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_randomize_slur_iter_ALT * p_plug_in_randomize_slur_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_randomize_slur_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_randomize_slur_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_randomize_slur_Vals typedef struct t_plug_in_randomize_slur_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_ripple_iter_ALT * p_plug_in_ripple_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_ripple_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_ripple_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_ripple_Vals typedef struct t_plug_in_ripple_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_rotate_iter_ALT * p_plug_in_rotate_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_rotate_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_rotate_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_rotate_Vals typedef struct t_plug_in_rotate_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_scatter_hsv_iter_ALT * p_plug_in_scatter_hsv_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_scatter_hsv_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_scatter_hsv_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_scatter_hsv_Vals typedef struct t_plug_in_scatter_hsv_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_sharpen_iter_ALT * p_plug_in_sharpen_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_sharpen_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_sharpen_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_sharpen_Vals typedef struct t_plug_in_sharpen_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_shift_iter_ALT * p_plug_in_shift_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_shift_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_shift_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_shift_Vals typedef struct t_plug_in_shift_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_spread_iter_ALT * p_plug_in_spread_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_spread_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_spread_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_spread_Vals typedef struct t_plug_in_spread_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_video_iter_ALT * p_plug_in_video_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_video_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_video_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_video_Vals typedef struct t_plug_in_video_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_vpropagate_iter_ALT * p_plug_in_vpropagate_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_vpropagate_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_vpropagate_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_vpropagate_Vals typedef struct t_plug_in_vpropagate_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_waves_iter_ALT * p_plug_in_waves_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_waves_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_waves_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_waves_Vals typedef struct t_plug_in_waves_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_whirl_pinch_iter_ALT * p_plug_in_whirl_pinch_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_whirl_pinch_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_whirl_pinch_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_whirl_pinch_Vals typedef struct t_plug_in_whirl_pinch_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_wind_iter_ALT * p_plug_in_wind_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_wind_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_wind_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_wind_Vals typedef struct t_plug_in_wind_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_Twist_iter_ALT * p_plug_in_Twist_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_Twist_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_Twist_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_Twist_Vals typedef struct t_plug_in_Twist_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_alienmap_iter_ALT * p_plug_in_alienmap_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_alienmap_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_alienmap_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_alienmap_Vals typedef struct t_plug_in_alienmap_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_applylens_iter_ALT * p_plug_in_applylens_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
static gint p_plug_in_applylens_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) static gint p_plug_in_applylens_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_applylens_Vals typedef struct t_plug_in_applylens_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_blur_iter_ALT * p_plug_in_blur_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_blur_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_blur_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_blur_Vals typedef struct t_plug_in_blur_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_bump_map_iter_ALT * p_plug_in_bump_map_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_bump_map_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_bump_map_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_bump_map_Vals typedef struct t_plug_in_bump_map_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_convmatrix_iter_ALT * p_plug_in_convmatrix_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_convmatrix_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_convmatrix_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef enum { typedef enum {
EXTEND, EXTEND,

View File

@ -2,7 +2,7 @@
* p_plug_in_depth_merge_iter_ALT * p_plug_in_depth_merge_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_depth_merge_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_depth_merge_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_depth_merge_Vals typedef struct t_plug_in_depth_merge_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_despeckle_iter_ALT * p_plug_in_despeckle_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_despeckle_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_despeckle_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_despeckle_Vals typedef struct t_plug_in_despeckle_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_emboss_iter_ALT * p_plug_in_emboss_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_emboss_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_emboss_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_emboss_Vals typedef struct t_plug_in_emboss_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_exchange_iter_ALT * p_plug_in_exchange_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_exchange_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_exchange_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_exchange_Vals typedef struct t_plug_in_exchange_Vals
{ {
@ -45,7 +45,7 @@ gint p_plug_in_exchange_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdou
p_delta_guchar(&buf.green_threshold, buf_from->green_threshold, buf_to->green_threshold, total_steps, current_step); p_delta_guchar(&buf.green_threshold, buf_from->green_threshold, buf_to->green_threshold, total_steps, current_step);
p_delta_guchar(&buf.blue_threshold, buf_from->blue_threshold, buf_to->blue_threshold, total_steps, current_step); p_delta_guchar(&buf.blue_threshold, buf_from->blue_threshold, buf_to->blue_threshold, total_steps, current_step);
/* exchange takes FROM colors from foreground when called in mode RUN_WITH_LAST_VALS */ /* exchange takes FROM colors from foreground when called in mode GIMP_RUN_WITH_LAST_VALS */
gimp_palette_set_foreground(buf.fromred, buf.fromgreen, buf.fromblue); gimp_palette_set_foreground(buf.fromred, buf.fromgreen, buf.fromblue);
gimp_set_data("plug_in_exchange", &buf, sizeof(buf)); gimp_set_data("plug_in_exchange", &buf, sizeof(buf));

View File

@ -113,7 +113,7 @@ static void p_delta_flame_control_point(t_flame_control_point *val, t_flame_cont
* p_plug_in_flame_iter_ALT * p_plug_in_flame_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_flame_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_flame_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_flame_Vals typedef struct t_plug_in_flame_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_lighting_iter_ALT * p_plug_in_lighting_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_lighting_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_lighting_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_lighting_Vals typedef struct t_plug_in_lighting_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_map_object_iter * p_plug_in_map_object_iter
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_map_object_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_map_object_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct typedef struct
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_maze_iter_ALT * p_plug_in_maze_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_maze_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_maze_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef enum { typedef enum {
DEPTH_FIRST, DEPTH_FIRST,

View File

@ -2,7 +2,7 @@
* p_plug_in_nlfilt_iter_ALT * p_plug_in_nlfilt_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_nlfilt_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_nlfilt_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_nlfilt_Vals typedef struct t_plug_in_nlfilt_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_nova_iter_ALT * p_plug_in_nova_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_nova_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_nova_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_nova_Vals typedef struct t_plug_in_nova_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_oilify_iter_ALT * p_plug_in_oilify_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_oilify_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_oilify_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_oilify_Vals typedef struct t_plug_in_oilify_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_pagecurl_iter_ALT * p_plug_in_pagecurl_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_pagecurl_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_pagecurl_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_pagecurl_Vals typedef struct t_plug_in_pagecurl_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_papertile_iter_ALT * p_plug_in_papertile_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_papertile_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_papertile_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_papertile_Vals typedef struct t_plug_in_papertile_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_plasma_iter_ALT * p_plug_in_plasma_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_plasma_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_plasma_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_plasma_Vals typedef struct t_plug_in_plasma_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_polar_coords_iter_ALT * p_plug_in_polar_coords_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_polar_coords_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_polar_coords_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_polar_coords_Vals typedef struct t_plug_in_polar_coords_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_sample_colorize_iter_ALT * p_plug_in_sample_colorize_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_sample_colorize_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_sample_colorize_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_sample_colorize_Vals typedef struct t_plug_in_sample_colorize_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_sinus_iter_ALT * p_plug_in_sinus_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_sinus_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_sinus_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_sinus_Vals typedef struct t_plug_in_sinus_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_solid_noise_iter_ALT * p_plug_in_solid_noise_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_solid_noise_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_solid_noise_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_solid_noise_Vals typedef struct t_plug_in_solid_noise_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_sparkle_iter_ALT * p_plug_in_sparkle_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_sparkle_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_sparkle_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_sparkle_Vals typedef struct t_plug_in_sparkle_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_CentralReflection_iter_ALT * p_plug_in_CentralReflection_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_CentralReflection_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_CentralReflection_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_CentralReflection_Vals typedef struct t_plug_in_CentralReflection_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_anamorphose_iter_ALT * p_plug_in_anamorphose_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_anamorphose_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_anamorphose_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_anamorphose_Vals typedef struct t_plug_in_anamorphose_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_blur2_iter_ALT * p_plug_in_blur2_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_blur2_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_blur2_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_blur2_Vals typedef struct t_plug_in_blur2_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_Colorify_iter_ALT * p_Colorify_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_Colorify_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_Colorify_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_Colorify_Vals typedef struct t_Colorify_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_encript_iter_ALT * p_plug_in_encript_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_encript_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_encript_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_encript_Vals typedef struct t_plug_in_encript_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_figures_iter_ALT * p_plug_in_figures_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_figures_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_figures_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_figures_Vals typedef struct t_plug_in_figures_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_gflare_iter_ALT * p_plug_in_gflare_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_gflare_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_gflare_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
#define GFLARE_NAME_MAX 256 #define GFLARE_NAME_MAX 256
typedef struct t_plug_in_gflare_Vals typedef struct t_plug_in_gflare_Vals

View File

@ -2,7 +2,7 @@
* p_plug_in_holes_iter_ALT * p_plug_in_holes_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_holes_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_holes_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_holes_Vals typedef struct t_plug_in_holes_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_julia_iter_ALT * p_plug_in_julia_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_julia_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_julia_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_julia_Vals typedef struct t_plug_in_julia_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_magic_eye_iter_ALT * p_plug_in_magic_eye_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_magic_eye_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_magic_eye_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_magic_eye_Vals typedef struct t_plug_in_magic_eye_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_mandelbrot_iter_ALT * p_plug_in_mandelbrot_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_mandelbrot_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_mandelbrot_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_mandelbrot_Vals typedef struct t_plug_in_mandelbrot_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_randomize_iter_ALT * p_plug_in_randomize_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_randomize_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_randomize_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_randomize_Vals typedef struct t_plug_in_randomize_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_refract_iter_ALT * p_plug_in_refract_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_refract_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_refract_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_refract_Vals typedef struct t_plug_in_refract_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_struc_iter_ALT * p_plug_in_struc_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_struc_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_struc_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_struc_Vals typedef struct t_plug_in_struc_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_tileit_iter_ALT * p_plug_in_tileit_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_tileit_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_tileit_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_tileit_Vals typedef struct t_plug_in_tileit_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_universal_filter_iter_ALT * p_plug_in_universal_filter_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_universal_filter_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_universal_filter_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_universal_filter_Vals typedef struct t_plug_in_universal_filter_Vals
{ {

View File

@ -2,7 +2,7 @@
* p_plug_in_warp_iter_ALT * p_plug_in_warp_iter_ALT
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
gint p_plug_in_warp_iter_ALT(GRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct) gint p_plug_in_warp_iter_ALT(GimpRunModeType run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct)
{ {
typedef struct t_plug_in_warp_Vals typedef struct t_plug_in_warp_Vals
{ {

View File

@ -31,6 +31,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#define GIMP_ENABLE_COMPAT_CRUFT /* should go away soon */
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
#include <libgimp/gimpui.h> #include <libgimp/gimpui.h>

View File

@ -146,7 +146,7 @@ foreach (sort keys %enums) {
print ENUMFILE <<'CRUFT'; print ENUMFILE <<'CRUFT';
/* This is for backwards compatibility. Don't use these for new plug-ins. */ /* 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 GimpFillType GFillType;
typedef GimpImageBaseType GImageType; typedef GimpImageBaseType GImageType;
@ -186,7 +186,7 @@ foreach $xform (@xforms) {
} }
print ENUMFILE <<HEADER; print ENUMFILE <<HEADER;
#endif /* GIMP_DISABLE_COMPAT_CRUFT */ #endif /* GIMP_ENABLE_COMPAT_CRUFT */
#ifdef __cplusplus #ifdef __cplusplus
} }
@ -197,3 +197,5 @@ HEADER
close ENUMFILE; close ENUMFILE;
&write_file($enumfile); &write_file($enumfile);