[Gimp-user] file-glob problem in 2.4.0rc3

Sven Neumann sven at gimp.org
Thu Oct 18 08:54:36 PDT 2007


Hi,

On Thu, 2007-10-18 at 10:58 -0400,
saulgoode at flashingtwelve.brickfilms.com wrote:
> 'file-glob' used to return a list of strings in GIMP 2.2, now it  
> returns a vector. You can make your code work by using the following  
> substitution:
> 
> (car (vector->list (cadr (file-glob "*.png" 1))))
> 
> 
> However, Script-fu should probably be amended to return lists for PDB  
> STRINGARRAY values (if possible).

We are doing that change now so that 2.4.0 should be compatible with 2.2
with regards to handling of STRINGARRAY values in Script-Fu. You can
check http://bugzilla.gnome.org/show_bug.cgi?id=317634 on this.


Sven




More information about the Gimp-user mailing list