Color Space Invasion: critical g_object_new_valist: invalid unclassed object pointer for value type 'GeglColor'
Windows 10 Home, 64-bit, self-built, up-to-date master.
I get a critical when running a Python API test script, in terminal:
(gimp-2.99.exe:89072): GLib-GObject-CRITICAL **: 10:59:27.291: g_object_new_valist: invalid unclassed object pointer for value type 'GeglColor'
In the error console:
GEGL CRITICAL
gegl_color_get_pixel: assertion 'GEGL_IS_COLOR (color)' failed
Using this extracted part of the script:
font_name = "Sans-serif"
test_font_single = Gimp.Font.get_by_name(font_name)
tlayer2 = Gimp.text_font (image, None, 5.0, 5.0, "text_font", 1, True, 20, test_font_single)