And then, just last week, Hermione had the brilliant idea of getting Harry and Ginny together by means of some muggle game.
It worked flawlessly, and Harry had since been conspicuously absent many a time when Ginny had also just happened to be conspicuously absent.