Signal should use correct closure

The "ended" signal uses the wrong closure. It should be void-void.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>