Bug 27741 - Make it easier for CMs to export objects without using tp_get_bus()
Summary: Make it easier for CMs to export objects without using tp_get_bus()
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/sm...
Whiteboard: review+
Keywords:
Depends on:
Blocks: 24114
  Show dependency treegraph
 
Reported: 2010-04-19 09:50 UTC by Simon McVittie
Modified: 2010-04-20 04:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.