Bug 31666 - stop using tp_get_bus() in pytpfarsight
Summary: stop using tp_get_bus() in pytpfarsight
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: salut (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/sm...
Whiteboard:
Keywords: patch
Depends on:
Blocks: 24114
  Show dependency treegraph
 
Reported: 2010-11-16 09:15 UTC by Simon McVittie
Modified: 2010-11-17 09:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.