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

Re: Plug-in problems

2000-11-30 Thread Maneesh Yadav
HmmmI actually never use gdb too much becuase I'm too lazy to learn :) (one of these days)...but I generally put in a lot of fprintf(stderr, ...)'s :) On Thu, 30 Nov 2000, David Neary wrote: Thanks Maneesh, Now I really feel like an idiot - that worked a treat :) As a matter of

Re: Plug-in problems

2000-11-29 Thread Maneesh Yadav
I think you need to allocate the return vals (the pointeryou get from the args is to let you tell the caller where the return vals are...like this: static GimpParam values[1]; *nreturn_vals = 0; *return_vals = values; values[0].type = GIMP_PDB_STATUS; values[0].data.d_status =