text: The funeral is to pray for the repose of the soul of the desceased. 
  
  If the priest made clear the immorality of same sex acts to avoid scandal and prefaced the ceremony that we hope this person in their last moments repented that would be one thing, but the way modern Catholic funerals go it would probably become a canonization of the deceased - complete with the same sex partner giving readings/the eulogy, painting the deceased as a Saint.