Bug 27741

Summary: Make it easier for CMs to export objects without using tp_get_bus()
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Simon McVittie <smcv>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/smcv/telepathy-glib-smcv.git;a=shortlog;h=refs/heads/dbus-daemon
Whiteboard: review+
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 24114    

Description Simon McVittie 2010-04-19 09:50:08 UTC
Exporting an object (typically a Channel) in a CM involves a lot of boilerplate, particularly if you're trying not to use tp_get_bus().

This branch makes it easier by adding new API to TpDBusDaemon, TpBaseConnectionManager and TpBaseConnection, and uses that API in telepathy-glib's base classes, examples and tests:

http://git.collabora.co.uk/?p=user/smcv/telepathy-glib-smcv.git;a=shortlog;h=refs/heads/dbus-daemon
Comment 1 Danielle Madeley 2010-04-20 03:46:33 UTC
Looks fine to me.
Comment 2 Simon McVittie 2010-04-20 04:25:20 UTC
Thanks, fixed for 0.11.3.

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.