[Gimp-developer] what if gimp-file-load fails?

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

 



Sorry if this seems like a really stupid question, and maybe I am in 
the wrong group anyway, but I would really appreciate it if someone 
could help me out here.

If gimp-file-load fails because the image with the filename specified 
does not exist what happens? My first thought was that the list 
returned would simply be empty, thus
(car (gimp-file-load 1 in-file in-file))
would be null. However, if I try to check this and do something 
conditional upon it being not-null nothing happens.

It would seem, from hours of tortured debugging, that the script 
bombs out before I even get to pick the top element off the list 
returned from gimp-file-load. What gives? 

Thanks in advance.




[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