+++ This bug was initially created as a clone of Bug #24114 +++ tp_get_bus() calls exit(), which is Bad™. We can't remove it til we break ABI, but we can at least deprecate it. telepathy-ring still uses this function; it shouldn't. This Gabble commit should illustrate how to avoid it: http://git.collabora.co.uk/?p=telepathy-gabble.git;a=commitdiff;h=59319365a14e0f62407a44191b386b1d581083fa
An untested branch will be on http://cgit.freedesktop.org/~smcv/telepathy-ring when cgit updates.
Created attachment 40340 [details] [review] untested patch
The patch looks pretty good, and seems to work with slight changes. Thanks.
This appears to be fixed in git for 2.1.1, so it no longer blocks deprecating the function. Thanks!
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.