Bug 31666

Summary: stop using tp_get_bus() in pytpfarsight
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: salutAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: olivier.crete
Version: git masterKeywords: patch
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/smcv/telepathy-farsight-smcv.git;a=shortlog;h=refs/heads/get-bus
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 24114    

Description Simon McVittie 2010-11-16 09:15:06 UTC
+++ 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.

pytpfarsight still uses this function; it should use tp_dbus_daemon_dup() instead.
Comment 1 Simon McVittie 2010-11-17 09:20:12 UTC
Here's an untested patch. It compiles, at least :-)
Comment 2 Olivier Crête 2010-11-17 09:38:40 UTC
Looks good, merged, pushed

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.