[Bug 32914] New: Hiding the McpAccountStorageIface struct prevents subclasses chaining up.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 8 16:04:00 CET 2011


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

           Summary: Hiding the McpAccountStorageIface struct prevents
                    subclasses chaining up.
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: love
          Severity: normal
          Priority: medium
         Component: mission-control
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Hello.

I am currently subclassing McdAccountManagerSso, and want to override the _get
method; my new method wants to chain up to the original one, having stuffed in
an extra entry into the keyfile.

But I can't chain up, because McpAccountStorageIface is hidden, and the vtable
is filled in using _implement_foo functions. This seems completely pointless to
me. The main rationale for this pattern in tp-glib's generated interfaces is to
avoid reorderings in the spec affecting ABI; this does not apply to a
hand-written interface in Mission Control.

This wouldn't take all that long, but I don't have time right now.

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