On Sat, 2013-11-02 at 11:43 +0800, Nor Jaidi Tuah wrote:
On Sat, 2013-11-02 at 11:24 +0800, Nor Jaidi Tuah wrote:I think I got it now. It looks like a libsoup vapi bug.Sorry, I keep tripping myself. Perhaps this is not a vapi bug. Perhaps in vala a closure cannot live longer than the scope wherein it is created. Is that the case?
It can, the argument just needs to be owned. Perhaps you're using and old version of Vala, because unless I'm mistaken this should be fixed with 0.22... see bug #704176.
Attachment:
signature.asc
Description: This is a digitally signed message part