Bug 17336 - Allow omitting TpDBusPropertiesMixinClass if the interfaces field would just be NULL.
Summary: Allow omitting TpDBusPropertiesMixinClass if the interfaces field would just ...
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: low minor
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 06:48 UTC by Will Thompson
Modified: 2008-09-26 09:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.