Fix poorly-merged event declaration (#804).

A merge reintroduced an event declaration in the viewer for a
function which no longer exists. Take that out.