[Bug 49616] New: [next] consider grouping some properties in a GVariant

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 8 08:53:29 CEST 2012


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

             Bug #: 49616
           Summary: [next] consider grouping some properties in a GVariant
    Classification: Unclassified
           Product: Telepathy
           Version: git master
          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


See bug #47100 for the original background.

Some TpAccount properties (but this probably apply for other objects) are split
into different GObject properties while they are conceptually the same thing or
are at least tightly connected. The main "problem" is tracking changes of these
properties as we may need to connect different "notify" signals rather than one
and aggregate the current value of all the properties manually.

Now that we have a proper API (and easier to use than GValueArray) to represent
them, may we should consider merging them into a single GVariant.

In TpAccount this could lead to something like:
- automatic-presence (uss)
- connection-error (sa{sv})
- current-presence (uss)
- requested-presence (uss)

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