Re: Major brokerage on PDB introspection

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

 



On Fri, 2011-05-13 at 17:58 -0400, Joao S. O. Bueno wrote:
> Hi,
> 
> If we run   this tiny fu expression on gimp 2.6
> (gimp-procedural-db-proc-arg "gimp-layer-get-name" 0), we get:
> (16 "drawable" "The drawable")
> 
> on gimp master, we are getting (0 "item" "The item")  - actually, we
> are getting "0" back for any parameter
> derived of gimp-item.  This completly breaks PDB parameter
> introspection. Languuage bindings - including
> the python bindings depend on this to correctly return the correct
> GIMP_PDB_* constant to work.
> (scheme works because it treats all GIMP objects  as an integer (by
> their IDs) and has no type checking)
> 
> 
> Can someone find-out what broke this? Maybe it is a use case for the
> famous "git bisect" thing - but I don't
> have a setup to try that.

Maybe it's a use case for simply looking at the code that returns
the wrong value :)

Fixed in master.

--mitch


_______________________________________________
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