[Telepathy] Announce: telepathy-glib 0.15.6

Mystilleef mystilleef at gmail.com
Mon Oct 3 00:33:02 PDT 2011


On Friday, September 30, 2011, Xavier Claessens wrote:

>
> Deprecations:
>
> • tp_account_prepare_{async,finish} replaced by
> tp_proxy_prepare_{async,finish}
> • tp_account_manager_prepare_{async,finish} replaced by
>  tp_proxy_prepare_{async,finish}
>
>

 How does this translate in PyGI? My app now fails with an attribute error
during account manager preparation.

Isn't account manager and account a subclass of tp proxy?

=================================================================
lateef at submission ~/D/teletest> python
Python 2.7.2 (default, Sep 30 2011, 20:53:59)
[GCC 4.6.1 20110908 (Red Hat 4.6.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository.TelepathyGLib import AccountManager


>>> am = AccountManager.dup()
>>> am.prepare_async
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'AccountManager' object has no attribute 'prepare_async'
==================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20111003/28e2d494/attachment.htm>


More information about the telepathy mailing list