Use owned callback for send_identity
authorSam Thursfield <samthursfield@codethink.co.uk>
Wed, 18 May 2011 11:23:42 +0000 (12:23 +0100)
committerSam Thursfield <samthursfield@codethink.co.uk>
Fri, 20 May 2011 13:59:16 +0000 (14:59 +0100)
commitdae6ff16c79372f6cf033f28da934a43f0c7a2f3
treef20079a5a59599ffc45fb49704d3890f5745e182
parent46a12613d1c7b2441ad1bb3d453bef39d5a7a863
Use owned callback for send_identity

This allows user data associated with the callback to be kept
referenced until the callback is replaced.

It seems that there are other unsolved problems with this part
of the code currently, in that the callback is called whenever the
'send' button is pressed even when no actual query is active, which
currently leads to crashes.
src/moonshot-window.vala