Whoah this thread sure took off. I was under the impression that there were only about five people who paid attention to this forum at all. 
Even though it was a misfire and few people here have seen it, The River gave a good example of how to introduce a gay character. Several episodes into its run, one of the characters makes a random remark about a romantic partner who is male. The other guy in the scene (a long-time work colleague) is surprised to learn that - not offended, just kind of surprised he never knew, since he's been working with the guy for years.
The upshot is, the other guy is a snarky jackass who nobody would feel very inclined to share personal details with. So the scene wasn't "really" about telling us that one character is gay, a detail that didn't change anything about that character. The purpose was to tell us something about the other guy.
Any character detail needs to have a purpose in a story. If a character is just as "good" for the story being gay or straight, then his/her sexuality serves no purpose in the story. But there are many ways to give it a purpose, and then it's a legit part of the story.
Also, there was a reason for the character to refer to his romantic partner - it was in the context of everyone being lost in the Amazon and wondering whether they'd ever seen their loved ones again. So it wasn't just shoehorned into the scene for its own sake.
PS, The River was on broadcast - ABC - so that just goes to show how much of a non-issue it is for a character to be gay anywhere on TV, not just cable.

Even though it was a misfire and few people here have seen it, The River gave a good example of how to introduce a gay character. Several episodes into its run, one of the characters makes a random remark about a romantic partner who is male. The other guy in the scene (a long-time work colleague) is surprised to learn that - not offended, just kind of surprised he never knew, since he's been working with the guy for years.
The upshot is, the other guy is a snarky jackass who nobody would feel very inclined to share personal details with. So the scene wasn't "really" about telling us that one character is gay, a detail that didn't change anything about that character. The purpose was to tell us something about the other guy.
Any character detail needs to have a purpose in a story. If a character is just as "good" for the story being gay or straight, then his/her sexuality serves no purpose in the story. But there are many ways to give it a purpose, and then it's a legit part of the story.
Also, there was a reason for the character to refer to his romantic partner - it was in the context of everyone being lost in the Amazon and wondering whether they'd ever seen their loved ones again. So it wasn't just shoehorned into the scene for its own sake.
PS, The River was on broadcast - ABC - so that just goes to show how much of a non-issue it is for a character to be gay anywhere on TV, not just cable.