The correct fix I guess is stop using the GObject API for discovering which signals a GObject subclass has and instead rely on the introspection API. Then we could mark as introspectable=0 all such signals and you would get a 'Signal not known' error on connect().
What would mean that ValueError in connect?
The correct fix I guess is stop using the GObject API for discovering which signals a GObject subclass has and instead rely on the introspection API. Then we could mark as introspectable=0 all such signals and you would get a 'Signal not known' error on connect().