It took them long enough. And it goes against Catholic doctrine, for now.  

I've always wondered why conservative Christians - both Catholic and Protestant -  were always so intent on enforcing two or three Old Testament texts on homosexuality, but were happy to reject slavery even though there are far more extensive Biblical passages that permit it.