[Bug 24114] [0.11] deprecate tp_get_bus()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 6 12:56:26 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=24114

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-04-06 03:56:25 PDT ---
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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list