TpFileTransferChannel: Add a method to cancel streaming
@xclaesse
Submitted by Xavier Claessens Assigned to Telepathy bugs list
Description
There is currently no way for apps to cancel the streaming happening in TpFileTransferChannel. Previously unreffing the proxy was a lame way of doing it, but now the channel ref itself during the opperation, so only a g_object_run_dispose() would do the job.
In all cases, depending on the refcount/dispose isn't ideal, I would add an explicit tp_file_transfer_channel_cancel() method that can trivially cancel the internal GCancellable.
Version: git master