[Bug 24689] New: tp_list_connection_managers should document that the list of protocols can become invalid

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 23 13:20:43 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24689

           Summary: tp_list_connection_managers should document that the
                    list of protocols can become invalid
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk


<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


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list