gdbus codegen_main fix

I've deleted my fork.

Hope now it works.