Python API for setting a default RGB value not working
The foggify Python plug-in tries to set a default color, which, according to a comment in the code and confirmed during testing, doesn't work.
It is unclear if this is due to us using the API wrong, or if we may need to adjust our API. Anyway it would be good to have a look at this before 3.0, since setting colors in plug-ins is not uncommon.
_color = Gimp.RGB()
_color.set_uchar(240, 0, 0)
_color.set_alpha(1.0)
color = GObject.Property(type =Gimp.RGB, default=_color,
nick =_("_Fog color"),
blurb=_("Fog color"))
We may need to check if the same happens with other more complicated types.