[Bug 46978] [next] make TpProxy client codegen always-async

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 5 19:07:27 CET 2012


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

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-03-05 10:07:27 PST ---
Created attachment 58036
  --> https://bugs.freedesktop.org/attachment.cgi?id=58036
[next 2/2] Always call TpProxy async method callbacks in an idle

Previously, we made a re-entrant call to the callback if the TpProxy
didn't have the interface. Having a method that is "sometimes async"
is bad, though: we should follow the GAsyncResult pattern, and have
the method return be always-async. In particular, this means we can
safely complete a GAsyncResult from the callback, without doing an
additional idle.

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