[Bug 44331] Gabble plugin API symbols should be factored out to a separate library

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 5 03:47:30 CET 2012


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

--- Comment #10 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-01-05 02:47:30 UTC ---
(In reply to comment #7)
> But actually, wouldn't even more idiomatic be having the plugin interface
> contain both a create_sidecar virtual function returning a GSimpleAsyncResult,
> and a create_sidecar_finish virtual function which digs out the resulting
> GabblePlugin from the GASR?

Yes, this is idiomatic: for instance see GSocketConnection's implementation of
close_async and close_finish (those are from a base class, not a GInterface,
but the principle is the same). This is annoyingly verbose but is apparently
considered to be The Right Thing.

-- 
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