Re: [Gimp-developer] Question about Script-Fu functions

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

 



Kevin Cozens <kcozens@xxxxxxxxxxxx> writes:

> Greetings, all.
>
> I am doing a number of things in the GIMP related to Script-Fu scripts.
> One of the things I noticed is that in libgimp/gimpcompat.h it appears
> that the 'img' argument has not been dropped for a couple of Script-Fu
> scripts that also take a layer argument. For 1.2, many of the functions
> requiring 'img layer' as part of their argument list had the 'img'
> argument dropped as no longer needed.
>
> The functions in question are gimp-layer-add-mask, and
> gimp-layer-remove-mask.
>
> Is there some reason these two functions still require both img and
> layer arguments?

Hm, gimp-layer-[add,remove]-mask do not take an image parameter.

This was changed recently and the old API went into gimpcompat.h
Of course the compat macros still take the image parameter.

(note that everything in gimpcompat.h is deprecated)

ciao,
--mitch

[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