[gimp] libgimp: rename gimp_pdb.h to gimp_pdb_headers.h



commit 95e498e0c0cd825cabebfbb3bc87700e7b9359ff
Author: Michael Natterer <mitch gimp org>
Date:   Tue Mar 8 13:42:05 2011 +0100

    libgimp: rename gimp_pdb.h to gimp_pdb_headers.h

 libgimp/Makefile.am                        |    2 +-
 libgimp/gimp.h                             |    2 +-
 libgimp/{gimp_pdb.h => gimp_pdb_headers.h} |    8 ++++----
 tools/pdbgen/lib.pl                        |   10 +++++-----
 4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index 0b06e40..df33ece 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -120,7 +120,7 @@ PDB_WRAPPERS_C = \
 	gimpvectors_pdb.c
 
 PDB_WRAPPERS_H = \
-	gimp_pdb.h			\
+	gimp_pdb_headers.h		\
 	gimpbrush_pdb.h			\
 	gimpbrushes_pdb.h		\
 	gimpbrushselect_pdb.h		\
diff --git a/libgimp/gimp.h b/libgimp/gimp.h
index c190fec..407f4a3 100644
--- a/libgimp/gimp.h
+++ b/libgimp/gimp.h
@@ -56,7 +56,7 @@
 #include <libgimp/gimptile.h>
 #include <libgimp/gimpvectors.h>
 
-#include <libgimp/gimp_pdb.h>
+#include <libgimp/gimp_pdb_headers.h>
 
 #ifdef G_OS_WIN32
 #include <stdlib.h> /* For __argc and __argv */
diff --git a/libgimp/gimp_pdb.h b/libgimp/gimp_pdb_headers.h
similarity index 95%
rename from libgimp/gimp_pdb.h
rename to libgimp/gimp_pdb_headers.h
index 4cfd27b..0bc7fc7 100644
--- a/libgimp/gimp_pdb.h
+++ b/libgimp/gimp_pdb_headers.h
@@ -1,7 +1,7 @@
 /* LIBGIMP - The GIMP Library
  * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
  *
- * gimp_pdb.h
+ * gimp_pdb_headers.h
  *
  * This library is free software: you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -20,8 +20,8 @@
 
 /* NOTE: This file is auto-generated by pdbgen.pl */
 
-#ifndef __GIMP_PDB_H__
-#define __GIMP_PDB_H__
+#ifndef __GIMP_PDB_HEADERS_H__
+#define __GIMP_PDB_HEADERS_H__
 
 #include <libgimp/gimpbrush_pdb.h>
 #include <libgimp/gimpbrushes_pdb.h>
@@ -74,4 +74,4 @@
 #include <libgimp/gimpunit_pdb.h>
 #include <libgimp/gimpvectors_pdb.h>
 
-#endif /* __GIMP_PDB_H__ */
+#endif /* __GIMP_PDB_HEADERS_H__ */
diff --git a/tools/pdbgen/lib.pl b/tools/pdbgen/lib.pl
index 561befb..c5f1aff 100644
--- a/tools/pdbgen/lib.pl
+++ b/tools/pdbgen/lib.pl
@@ -676,12 +676,12 @@ SECTION_DOCS
     }
 
     if (! $ENV{PDBGEN_GROUPS}) {
-        my $gimp_pdb = "$destdir/gimp_pdb.h$FILE_EXT";
-	open PFILE, "> $gimp_pdb" or die "Can't open $gimp_pdb: $!\n";
+        my $gimp_pdb_headers = "$destdir/gimp_pdb_headers.h$FILE_EXT";
+	open PFILE, "> $gimp_pdb_headers" or die "Can't open $gimp_pdb_headers: $!\n";
         print PFILE $lgpl_top;
-        print PFILE " * gimp_pdb.h\n";
+        print PFILE " * gimp_pdb_headers.h\n";
         print PFILE $lgpl_bottom;
-	my $guard = "__GIMP_PDB_H__";
+	my $guard = "__GIMP_PDB_HEADERS_H__";
 	print PFILE <<HEADER;
 #ifndef $guard
 #define $guard
@@ -701,6 +701,6 @@ HEADER
 #endif /* $guard */
 HEADER
 	close PFILE;
-	&write_file($gimp_pdb);
+	&write_file($gimp_pdb_headers);
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]