As I understand it, the idea is to attach data to handles so it gets freed when handle is unreffed. But now that handles are immortal it could be dangerous to attach data to it.
For example, I think gabble attach alias, but if we leave a muc we could want to free all aliases even if the handles needs to be immortal.
(In reply to comment #0)
> For example, I think gabble attach alias, but if we leave a muc we could want
> to free all aliases even if the handles needs to be immortal.
Does Gabble still do this? If it does, it shouldn't (and that should happen on master). Then we can delete this function, I think.
Here is the tp-glib master patch to deprecate tp_handle_set/get_qdata(): http://cgit.collabora.com/git/user/xclaesse/telepathy-glib.git/log/?h=qdata
However it is still used by gabble and idle.
Deprecated in tp-glib master. I'll open another bug to stop using it in gabble.