Re: Plug-in problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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 = GIMP_PDB_SUCCESS;
> 

-- 
		Dave Neary,
	Software engineer, Informix Dublin.
		Ireland.
	Phone: +353-1-409-1357


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux