Bug 17336

Summary: Allow omitting TpDBusPropertiesMixinClass if the interfaces field would just be NULL.
Product: Telepathy Reporter: Will Thompson <will>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: minor    
Priority: low    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Will Thompson 2008-08-28 06:48:48 UTC
TpDBusPropertiesMixinClass currently has to be a public field of any class wanting to use it, even if that class would just set the list of interfaces to the empty list.  This is kind of a waste of 8 gpointer-widths.

Perhaps passing a zero offset to tp_dbus_properties_mixin_class_init could be taken to mean that there is no MixinClass in the class, and that all interfaces for which properties should be implemented will be set up with tp_dbus_properties_mixin_implement_interface.
Comment 1 Simon McVittie 2008-09-26 09:30:16 UTC
This was fixed in 0.7.15.

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.