Anybody who gets imprisoned for soliciting or obtaining sex from another man in a rest stop or a public restroom has been imprisoned for open homosexual conduct. Of course, you are correct, it is also illegal for heterosexuals to engage in that conduct. I just wanted you to consider the possibility that the proposed Nigerian law is more along those lines, rather than executing people for eating together in a restaurant (which is what at least one hysterical revisionist said.)
People were regularly executed for homosexual conduct, even in private, in the 18th century in England and America (that's when Thomas Jefferson was alive, mostly.) In the 19th century they went to prison instead of being executed (vide Oscar Wilde). Things have changed substantially, but from the point of view of the law or the church, that's the blink of an eye.
"People were regularly executed for homosexual conduct, even in private, in the 18th century in England and America (that's when Thomas Jefferson was alive, mostly.)"
I'm certainly aware that they were imprisoned, but can't think of any capital cases offhand. Can you? (And thanks for the tip about Louie Crew - not an "activist" I'd be tuned into).