Just because he's a middle-aged never married man who's lived with a male roommate for years and years doesn't make him gay... Didn't you see "Odd Couple"?
Both Oscar and Felix were formerly married.