On Wed, 2006-09-20 at 08:40 +0200, Sven Neumann wrote: > On Wed, 2006-09-20 at 10:31 +1000, Paul L Daniels wrote: > > > I'll give it a shot (already have the file open and have > started to edit it). Although I should probably ask elsewhere, would > I be better to create an external module (.[cho]) with the AI palette > import code, or put the code within the actual gimppalette-import.c > code ? ie, I could create a module/object > gimppalette-import-ai.[cho] . > > It would probably not hurt to split all the different palette loaders > into separate files. It should go to gimppalette-load.[ch], together with the standard palette loader function. Look at how the gradient loading/saving files are organized, and how gimp_real_initialize() in app/core/gimp.c maps file extensions to data load handlers. ciao, --mitch _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer