removed generation of includes for enums since including "pdb-types.h" is

2003-05-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/app.pl (declare_args): removed generation of
	includes for enums since including "pdb-types.h" is sufficient
	now.

	* app/pdb/brush_select_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/channel_cmds.c
	* app/pdb/color_cmds.c
	* app/pdb/convert_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/guides_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/message_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/pdb/paint_tools_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/selection_tools_cmds.c
	* app/pdb/text_tool_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
This commit is contained in:
Michael Natterer 2003-05-15 21:24:41 +00:00 committed by Michael Natterer
parent ecbbb96235
commit a05d2c6310
20 changed files with 25 additions and 27 deletions

View File

@ -1,3 +1,28 @@
2003-05-15 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/app.pl (declare_args): removed generation of
includes for enums since including "pdb-types.h" is sufficient
now.
* app/pdb/brush_select_cmds.c
* app/pdb/brushes_cmds.c
* app/pdb/channel_cmds.c
* app/pdb/color_cmds.c
* app/pdb/convert_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/edit_cmds.c
* app/pdb/guides_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/message_cmds.c
* app/pdb/misc_tools_cmds.c
* app/pdb/paint_tools_cmds.c
* app/pdb/procedural_db_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c
* app/pdb/text_tool_cmds.c
* app/pdb/transform_tools_cmds.c: regenerated.
2003-05-15 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/paths.pdb: removed PDB access to the old paths

View File

@ -29,7 +29,6 @@
#include "gui/gui-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "core/gimp.h"
#include "core/gimpcontainer.h"
#include "core/gimpcontext.h"

View File

@ -29,7 +29,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "base/temp-buf.h"
#include "core/gimp.h"
#include "core/gimpbrush.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimpchannel.h"
#include "core/gimpimage.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "base/color-balance.h"
#include "base/curves.h"
#include "base/gimphistogram.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpcontainer.h"
#include "core/gimpdatafactory.h"

View File

@ -32,7 +32,6 @@
#include "base/temp-buf.h"
#include "base/tile-manager.h"
#include "base/tile.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpchannel.h"
#include "core/gimpdrawable-offset.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpdrawable.h"
#include "core/gimpedit.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimpimage-guides.h"
#include "core/gimpimage-undo-push.h"
#include "core/gimpimage.h"

View File

@ -31,7 +31,6 @@
#include "base/temp-buf.h"
#include "config/gimpcoreconfig.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpchannel.h"
#include "core/gimpcontainer.h"

View File

@ -28,9 +28,7 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "config/gimpcoreconfig.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage-undo.h"

View File

@ -30,8 +30,6 @@
#include "core/gimp.h"
#include "libgimpbase/gimpbasetypes.h"
static ProcRecord message_proc;
static ProcRecord message_get_handler_proc;
static ProcRecord message_set_handler_proc;

View File

@ -28,8 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "core/core-enums.h"
#include "core/gimpdrawable-blend.h"
#include "core/gimpdrawable-bucket-fill.h"
#include "core/gimpdrawable.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/base-enums.h"
#include "core/gimp.h"
#include "core/gimpdrawable.h"
#include "paint/gimpairbrush.h"
@ -46,7 +45,6 @@
#include "paint/gimppencil.h"
#include "paint/gimpsmudge.h"
#include "paint/gimpsmudgeoptions.h"
#include "paint/paint-enums.h"
#include "paint/paint-types.h"
#include "libgimpmath/gimpmath.h"

View File

@ -41,8 +41,6 @@
#endif
#include "libgimpbase/gimpbasetypes.h"
/* Query structure */
typedef struct _PDBQuery PDBQuery;

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimpchannel.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage-mask.h"

View File

@ -28,7 +28,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-enums.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage-mask-select.h"
#include "core/gimpimage.h"

View File

@ -30,7 +30,6 @@
#include "pdb-types.h"
#include "procedural_db.h"
#include "core/core-types.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage.h"
#include "core/gimplayer.h"

View File

@ -29,7 +29,6 @@
#include "procedural_db.h"
#include "config/gimpcoreconfig.h"
#include "core/core-enums.h"
#include "core/gimp.h"
#include "core/gimpdrawable-transform-utils.h"
#include "core/gimpdrawable-transform.h"

View File

@ -127,10 +127,6 @@ sub declare_args {
my ($type, $name) = &arg_parse($_->{type});
my $arg = $arg_types{$type};
if ($type eq 'enum') {
$out->{headers}->{qq/"$enums{$name}->{header}"/}++
}
if ($arg->{array} && !exists $_->{array}) {
warn "Array without number of elements param in $proc->{name}";
}