Coroner says gunshot was self-inflicted