[Bug 27982] TpBaseClient: should try to recycle TpConnection and TpAccount object

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 5 16:48:44 CEST 2010


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

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-05-05 07:48:44 PDT ---
Looks OK, but this:

> +  dbus = tp_dbus_daemon_dup (NULL);
> +  if (self->priv->dbus == dbus)

will attempt to connect to the session/starter bus. Could you add an internal
method that this could use instead? Something like:

gboolean
_tp_dbus_daemon_is_the_shared_one (TpDBusDaemon *self)
{
  return (self != NULL && self == starter_bus_daemon);
}

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



More information about the telepathy-bugs mailing list