gimp_image_set_file(): need a behaviour change
Environment/Versions
- GIMP version: 2.99.15, Flatpak Test
- Operating System: Linux
Description of the bug
The script-fu function (gimp-image-set-file) now needs ".xcf" to end the string argument
> (gimp-image-set-file 1 "hello.xcf")
(#t)
> (gimp-image-set-file 1 "hello")
Error: Procedure execution of gimp-image-set-file failed
> (gimp-image-set-file 1 "hello.jpg")
Error: Procedure execution of gimp-image-set-file failed
Reproduction
Is the bug reproducible? Yes
Reproduction steps:
- Start Gimp, new image, console
- (gimp-image-set-file 1 "hello.xcf")
- (gimp-image-set-file 1 "hello")
- (gimp-image-set-file 1 "hello.jpg")
Expected result: to give an image any string
Actual result: needs to terminate with an ".xcf"