Re: Plugin that can open a drawable on screen. What am I doing wrong?

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

 



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.

  / Martin


-- 

My GIMP Blog:
http://www.chromecode.com/
"Best way to keep up with GIMP from git"

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[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