add allow-none annotations, based on the pygobject .defs file