[Telepathy] [Bug 17309] New: TpChannel should not implement TpChannelIface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 26 04:15:14 PDT 2008


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

           Summary: TpChannel should not implement TpChannelIface
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: xclaesse at gmail.com


The doc of TpChannelIface says it's mainly used by TpChannelFactory which is a
service-side API. TpChannelIface defines the "object-path" property which is
not overriden by TpChannel but redefined in TpProxy, I think there is a problem
here.

I see no reason for TpChannel to implement this interface, it could simply have
its own "channel-type", "handle-type" and "handle" properties. It has already
its own accessors for them.

I find this interface very confusing because of bug # and accessors are defined
on TpChannel (tp_channel_get_handle) instead of TpChannelIface
(tp_channel_iface_get_handle).

Is it an API/ABI break to not implement the interface and add its own
properties?


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