<cassidy> smcv: I understand why I didn't catch https://bugzilla.gnome.org/show_bug.cgi?id=599386 when I fixed the get_protocol crash the other day. The protocol chooser don't call tp_connection_manager_get_protocol but empathy_connection_managers_get_cms which calls tp_list_connection_managers(). The documentation of this function should say that the protocols are not garanteed to say valid :( <smcv> cassidy: and yeah we should add a _dup version of tp_connection_manager_get_protocol probably, and also comment tp_list_connection_managers, and also deprecate direct access to the CMs' struct fields
Because I'm working on Protocol objects (which are GObjects with a refcount), I don't want to add any more API for these older protocol structs. Here's a branch which improves the documentation, though - is this enough to close this bug?
review+ from cassidy, documentation fixes will be in 0.11.5.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.