Bug 14829

Summary: TpConnection: make the struct layout public for read-only access
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2008-03-05 05:13:53 UTC
Same as bug#14828, but for the Connection.

Other things that should perhaps go in the struct before its layout is made public include:

* self-handle: space is reserved, but this can't be made reliable until we finalize Renaming
* protocol? (derivable from the object-path)
* list of channels?
* some sort of handle-repository object(s)?

None of the other Connection interfaces seem like obvious candidates for special treatment, whereas for Channel, I think we should treat Group specially.
Comment 1 Simon McVittie 2008-07-17 07:17:12 UTC
Taking a cue from the new Gtk policy, I've decided not to expose any public struct members - I've been adding function-based accessors instead.

Fixed in darcs, will be in 0.7.12.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.