gtktemplate: Handle callbacks for detailed signals

Fixes bug 720825