Woman sentenced to 30 years for killing boyfriend