This is where you are wrong. I have extensively psychoanalyzed both characters who are real and complex humans. I have found that Gandalf IS gay for Dumbledore, but Dumbledore, while gay himself, does not return Gandalf's feelings but is actually into bears.