A French court on Friday sentenced a man to 30 years in prison for killing his former partner, who had repeatedly warned authorities that she was in danger after years of abuse.