[Bug 44917] New: TpBaseChannelClass needs a get_interfaces()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 18 18:12:14 CET 2012


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

             Bug #: 44917
           Summary: TpBaseChannelClass needs a get_interfaces()
    Classification: Unclassified
           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: danielle.madeley at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


For TpBaseCallContent etc, we have added a get_interfaces() class method which
returns a GPtrArray of interfaces, allowing for the user to chain up the
implemented interfaces when inheriting a base class.

Currently as it stands, if I write a concrete class inheriting from
TpBaseMediaCallChannel, I need to look at what class->interfaces equals in
order to set my own class->interfaces.

I propose adding a get_interfaces() class method to TpBaseChannel, which by
default initialises to class->interfaces. And changing the Interfaces property,
etc. to use that.

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