Bug 73334

Summary: TpFileTransferChannel: Add a method to cancel streaming
Product: Telepathy Reporter: Xavier Claessens <xclaesse>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Xavier Claessens 2014-01-06 21:04:47 UTC
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.
Comment 1 GitLab Migration User 2019-12-03 20:42:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/120.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.