[Bug 39189] New: [API Break] Use GPtrArray as our preferred container for collections

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 13 15:54:50 CEST 2011


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

           Summary: [API Break] Use GPtrArray as our preferred container
                    for collections
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Atm tp-glib uses both GList and GPtrArray when exposing collection of objects.
I think we should prefer the latter:
- Can be reffed so user don't have to copy
- Easier memory management using the free_func
- Take less memory

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



More information about the telepathy-bugs mailing list