[gimp] tools: insert #include "gimppdbcontext.h" at the right place if needed
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] tools: insert #include "gimppdbcontext.h" at the right place if needed
- Date: Sat, 4 Sep 2010 20:32:41 +0000 (UTC)
commit 1e4b3a53b38a555b5f131bcc87534d9987e1bd1c
Author: Michael Natterer <mitch gimp org>
Date: Sat Sep 4 22:31:58 2010 +0200
tools: insert #include "gimppdbcontext.h" at the right place if needed
tools/pdbgen/app.pl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tools/pdbgen/app.pl b/tools/pdbgen/app.pl
index 38f316e..fa01ae0 100644
--- a/tools/pdbgen/app.pl
+++ b/tools/pdbgen/app.pl
@@ -751,6 +751,7 @@ GPL
my $base = 0;
my $error = 0;
my $utils = 0;
+ my $context = 0;
my $intl = 0;
foreach (@headers) {
@@ -786,6 +787,9 @@ GPL
elsif (/gimppdberror/) {
$error = 1;
}
+ elsif (/gimppdbcontext/) {
+ $context = 1;
+ }
else {
$headers .= "#include $_\n";
}
@@ -795,6 +799,7 @@ GPL
$headers .= "#include \"gimppdb.h\"\n";
$headers .= "#include \"gimppdberror.h\"\n" if $error;
$headers .= "#include \"gimppdb-utils.h\"\n" if $utils;
+ $headers .= "#include \"gimppdbcontext.h\"\n" if $context;
$headers .= "#include \"gimpprocedure.h\"\n";
$headers .= "#include \"internal-procs.h\"\n";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]