<br><br>On Friday, September 30, 2011, Xavier Claessens wrote:<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Deprecations:<br>
<br>
• tp_account_prepare_{async,finish} replaced by<br>
tp_proxy_prepare_{async,finish}<br>
• tp_account_manager_prepare_{async,finish} replaced by<br>
tp_proxy_prepare_{async,finish}<br><br></blockquote><div><br></div><div><br></div><div> How does this translate in PyGI? My app now fails with an attribute error during account manager preparation.</div><div><br></div>
<div>Isn't account manager and account a subclass of tp proxy?</div><div><br></div><div>=================================================================</div><div><div>lateef@submission ~/D/teletest> python</div><div>
Python 2.7.2 (default, Sep 30 2011, 20:53:59) </div><div>[GCC 4.6.1 20110908 (Red Hat 4.6.1-9)] on linux2</div><div>Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> from gi.repository.TelepathyGLib import AccountManager </div><div>>>> am = AccountManager.dup()</div>
<div>>>> am.prepare_async</div><div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div><div>AttributeError: 'AccountManager' object has no attribute 'prepare_async'</div>
</div></div><div>==================================================================</div><div><br></div></div>