Summary: | TpBaseClient: should try to recycle TpConnection and TpAccount object | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Guillaume Desmottes <guillaume.desmottes> |
Component: | tp-glib | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=shortlog;h=refs/heads/recycle-27982 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Guillaume Desmottes
2010-05-05 06:27:17 UTC
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);
}
done. Thanks, looks good. Merged to master. |
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.