Plug-in problems

2000-11-29 Thread David Neary
e do this with * gimp_install_procedure. */ gimp_install_procedure("plug_in_hello", "Prints a message", "For no good reason this plug-in only accepts greyscale images",

Re: Plug-in problems

2000-11-30 Thread David Neary
Thanks Maneesh, Now I really feel like an idiot - that worked a treat :) As a matter of interest, what kind of techniques have people built up for debugging plug-ins? Cheers, Dave. Maneesh Yadav wrote: I think you need to allocate the return vals (the pointeryou get from the args is to

Submitting a fix

2000-12-18 Thread David Neary
Hi all, I've fixed a bug (bug #9156), but I don't know how to go about submitting the fix (making a diff file, where to send it, that kind of thing) - can someone point me to a page that explains it, or should I post it here? It's a one-line fix... Cheers, Dave. -- Dave

Re: Submitting a fix

2000-12-18 Thread David Neary
Austin Donnelly wrote: Oh, go on - you know you want to! :) Alright, I will... The fix I put in (under certain unusual circumstances) has the potential for bad behaviour - you'll get a memset(mask, 0, 0). I'm not sure what that'd do. To eliminate any risk of it (I should have done this the

Re: Submitting a fix

2000-12-18 Thread David Neary
David Neary wrote: To eliminate any risk of it (I should have done this the first time), the following fix is a bit better... Sorry for the mess! ... and of course, the comment should have been changed from "adding 1" to "adding num_bands - 1 to height". Again, many apo