tp_get_bus() calls exit(), which is Bad™. We can't remove it til we break ABI, but we can at least deprecate it.
I have a rather half-baked branch for this, 'deprecations'.
Fixed on my trivia branch for 0.11
Fixed in 0.11.0
In practice, current connection managers all use tp_get_bus() all over the place (to export their channels), so this needs reverting. A better solution would be to give TpBaseConnectionManager and TpBaseConnection an accessor for the TpDBusDaemon (and DBusGConnection) that they have to have internally already, which borrows the ref (thus doesn't need an unref) and can't fail.
All the various channels have to have a ref to the TpBaseConnection anyway, for handle repositories, so this is no extra burden for CMs. The cost is that CMs using this API would have to depend on telepathy-glib 0.11.
Deferred to 0.13.
Let's try this again, now we've fixed the connection managers...
r+ from Jonny on IRC, fixed in git for 0.13.8.