gimp_image_insert_layer(): doesn't accept an unspecified parent
Submitted by Ofnuts
Link to original bug (#777092)
Description
With the PDB procedure a layer can be inserted in the main stack using None as the parent:
>>>pdb.gimp_image_insert_layer(image, layer, None, -1)
Version: 2.8.18