Add a global lookup table for signal handlers. We already give them a unique ID, so there is no good reason to pay for non-constant lookups when disconnecting handlers. https://bugzilla.gnome.org/show_bug.cgi?id=737009