TpContact reference problem.
Submitted by Guillaume Desmottes
Link to original bug (#666580)
Description
Created attachment 203939 test app
Please take a look at the attached test app (you'll have to modify ACCOUNT in order to test it).
It fails because when get_contact_cb() returns, tp-glib release its reference on the TpContact and destroy it. I know that tpf_persona_dup_for_contact() keeps a weak ref on the contact (I'm the one who suggested this behaviour :) but the persona should ref it as well.
Or am I missing something?
Attachment 203939, "test app":
folks.c
Version: git master