Louise Hoffman wrote:
> hello-world.c:73: warning: passing argument 1 of
> ‘gimp_drawable_set_pixel’ makes integer from pointer without a cast
> /usr/include/gimp-2.0/libgimp/gimpdrawable_pdb.h:89: note: expected
> ‘gint32’ but argument is of type ‘struct GimpDrawable *’
As I said, in the plug-in context layers (and drawables) are identified
by integers, not pointers. Looks like you try to use a struct pointer again.
Plug-ins run in their own process and thus pointer-passing doesn't work.
My GIMP Blog:
"Best way to keep up with GIMP from git"
Gimp-developer mailing list