use MAIN macro

This commit is contained in:
Asbjørn Pettersen 1999-04-22 14:13:06 +00:00
parent 8b768b1075
commit db3c6bdb2d
5 changed files with 11 additions and 18 deletions

View File

@ -1,5 +1,6 @@
Thu Apr 22 16:05:10 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* plug-ins/CEL/CEL.c:
* plug-ins/sharpen/sharpen.c: Use MAIN() macro.
Thu Apr 22 08:47:50 1999 ape@.spacetec.no (Asbjorn Pettersen)

View File

@ -55,9 +55,7 @@ size_t data_length= 0;
/* Let GIMP library handle initialisation (and inquisitive users) */
int main(int argc, char *argv[]) {
return gimp_main(argc, argv);
}
MAIN()
/* GIMP queries plug-in for parameters etc. */

View File

@ -55,9 +55,7 @@ size_t data_length= 0;
/* Let GIMP library handle initialisation (and inquisitive users) */
int main(int argc, char *argv[]) {
return gimp_main(argc, argv);
}
MAIN()
/* GIMP queries plug-in for parameters etc. */

View File

@ -44,6 +44,9 @@
* Revision History:
*
* $Log$
* Revision 1.10 1999/04/22 14:05:58 asbjoer
* use MAIN macro
*
* Revision 1.9 1999/03/28 22:03:12 raph
* Fixed a silly bug causing sharpen to not work in the non-rgb cases.
*
@ -222,13 +225,8 @@ intpos pos_lut[256]; /* Positive coefficient LUT */
* 'main()' - Main entry - just call gimp_main()...
*/
int
main(int argc, /* I - Number of command-line args */
char *argv[]) /* I - Command-line args */
{
return (gimp_main(argc, argv));
}
MAIN()
/*
* 'query()' - Respond to a plug-in query...

View File

@ -44,6 +44,9 @@
* Revision History:
*
* $Log$
* Revision 1.10 1999/04/22 14:05:58 asbjoer
* use MAIN macro
*
* Revision 1.9 1999/03/28 22:03:12 raph
* Fixed a silly bug causing sharpen to not work in the non-rgb cases.
*
@ -222,13 +225,8 @@ intpos pos_lut[256]; /* Positive coefficient LUT */
* 'main()' - Main entry - just call gimp_main()...
*/
int
main(int argc, /* I - Number of command-line args */
char *argv[]) /* I - Command-line args */
{
return (gimp_main(argc, argv));
}
MAIN()
/*
* 'query()' - Respond to a plug-in query...