'De-gaying' is a term used in the media for the removal of gay/lesbian elements.
For example, if a production company adapts a book to make a film and changes a gay or lesbian character into a straight one, they have 'de-gayed' the story. The reasons for this are purely practical - it makes the film more acceptable to a larger proportion of the movie-going public of the USA.