But I didn't see Martin saying that the supreme court has the jurisdiction to legalize gay marriage.
BTW Chief Justice Roberts said it best:
"Petitioners make strong arguments rooted in social policy and considerations of fairness. They contend that same-sex couples should be allowed to affirm their love and commitment through marriage, just like opposite-sex couples. That position has undeniable appeal; over the past six years, voters and legislators in eleven States and the District of Columbia have revised their laws to allow marriage between two people of the same sex. But this Court is not a legislature. Whether same-sex marriage is a good idea should be of no concern to us. Under the Constitution, judges have power to say what the law is, not what it should be. The people who ratified the Constitution authorized courts to exercise “neither force nor will but merely judgment.”
Although the policy arguments for extending marriage to same-sex couples may be compelling, the legal arguments for requiring such an extension are not"