GLib.idle_add() exists all the way back to gedit 3.0, but there it throws an error so we fall back to GObject.idle_add()