Hi, On Tue, 2008-12-16 at 19:34 -0500, saulgoode@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote: > Quoting Sven Neumann <sven@xxxxxxxx>: > > > Perhaps we need to add gimp-layear-has-mask then. Until then you could > > use gimp-plugin-set-pdb-error-handler to take over the error handling in > > order to suppress the warning. > > I haven't been following this discussion that closely; however, I > would point out that the PDB function 'gimp-layer-get-mask' will > return "-1" if the layer does not have a mask. Right, that should actually be sufficient. I don't think we need to add additional API then. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer