alert-dialog: Allow for None parent
This makes it match the C API
I cargo culted the bits for the future from other, autogenerated ones. Hope that's o.k. too, otherwise happy to learn how to do it correctly.
Closes: #38 (closed) Signed-off-by: Guido Günther agx@sigxcpu.org