Commit 078a4b64 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

special treatment for gimppdberror.h to get a saner include order.

2008-04-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/app.pl: special treatment for gimppdberror.h to 
get
	a saner include order.

	* app/pdb/floating_sel_cmds.c
	* app/pdb/image_cmds.c: regenerated.


svn path=/trunk/; revision=25341
parent bd1feb95
2008-04-02 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: special treatment for gimppdberror.h to get
a saner include order.
* app/pdb/floating_sel_cmds.c
* app/pdb/image_cmds.c: regenerated.
2008-04-02 Sven Neumann <sven@gimp.org>
* app/pdb/gimppdb-utils.[ch]: added gimp_pdb_layer_is_text_layer().
......
......@@ -28,9 +28,9 @@
#include "core/gimplayer-floating-sel.h"
#include "core/gimplayer.h"
#include "core/gimpparamspecs.h"
#include "gimppdberror.h"
#include "gimppdb.h"
#include "gimppdberror.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
......
......@@ -50,10 +50,10 @@
#include "core/gimppickable.h"
#include "core/gimpselection.h"
#include "core/gimpunit.h"
#include "gimppdberror.h"
#include "vectors/gimpvectors.h"
#include "gimppdb.h"
#include "gimppdberror.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
......
......@@ -694,8 +694,9 @@ GPL
my $seen = 0;
my $sys = 0;
my $base = 0;
my $intl = 0;
my $error = 0;
my $utils = 0;
my $intl = 0;
foreach (@headers) {
$seen++ if /^</;
......@@ -727,6 +728,9 @@ GPL
elsif (/gimppdb-utils/) {
$utils = 1;
}
elsif (/gimppdberror/) {
$error = 1;
}
else {
$headers .= "#include $_\n";
}
......@@ -734,6 +738,7 @@ GPL
$headers .= "\n";
$headers .= "#include \"gimppdb.h\"\n";
$headers .= "#include \"gimppdberror.h\"\n" if $error;
$headers .= "#include \"gimppdb-utils.h\"\n" if $utils;
$headers .= "#include \"gimpprocedure.h\"\n";
$headers .= "#include \"internal_procs.h\"\n";
......
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