mirror of https://github.com/GNOME/gimp.git
libgimp: rename gimp_pdb.h to gimp_pdb_headers.h
This commit is contained in:
parent
87646e9ace
commit
95e498e0c0
|
@ -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 \
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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__ */
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue