js: Use connectObject()
gnome-shell added (dis)connectObject() methods to partially automate signal handling. It doesn't only save a significant amount of code, but also makes it harder to miss cleaning up on destroy.
gnome-shell added (dis)connectObject() methods to partially automate signal handling. It doesn't only save a significant amount of code, but also makes it harder to miss cleaning up on destroy.