I just found a bug where I used the wrong "return_from" generated function. There should be g_return_if_fail() code that makes sure that the right one is called. Otherwise the type safety is useless.
Can't be fixed, sorry. These functions can't find out which method implementation they're being called from. (More precisely, fixing this isn't possible within dbus-glib; we'd have to add a parallel API as a layer over dbus-glib.)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.