Examples should use the account manager, not request stuff directly from the CM
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
For instance, http://telepathy.freedesktop.org/doc/book/appendix.source-code.glib_get_roster.example.c.html requests a connection from the CM.
Really, Gabble shouldn't be popping up channels if there's no handler for them, but a user on #telepathy reports that that example never finishes connecting; I suspect this means that an auth channel/ssl cert channel is popping up.
The code to grab a connection from an account in http://telepathy.freedesktop.org/doc/book/appendix.source-code.glib_get_user_defined_groups.example.c.html could be cargo-culted maybe.