[Bug 24061] TpAccount, TpAccountManager: add convenience API similar to libempathy's

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 26 20:28:59 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24061





--- Comment #30 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-09-26 11:28:58 PST ---
(In reply to comment #26)
> > Similarly, we should consider removing TpAccount's connection property,
> > temporarily or permanently.
> 
> Why remove it? If it is defined as having the same guarantees as the connection
> getter which is staying around, there is no point removing it, or do you want
> the option to have a :connection property later on with different semantics
> from _get_connection?

Partly just that it seems weird: the idea of a property whose value is lazily
allocated seems stranger to me than that of a getter whose result is lazily
allocated.

I'm a bit concerned about bindings' behaviour: are there bindings that eagerly
retrieve all properties in order to populate Python-or-whatever wrappers'
attributes? If there are, then they'll suffer from the TpConnection being
created unnecessarily.


-- 
Configure bugmail: http://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