Bug 18752

Summary: [codegen] Only use properties mixin if properties are used
Product: Telepathy Reporter: Ross Burton <ross>
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: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Only use the mixin if there are properties
Only include the mixin headers if required

Description Ross Burton 2008-11-28 02:33:17 UTC
Created attachment 20654 [details] [review]
Only use the mixin if there are properties

At the moment the telepathy-glib ginterface code generator will always include telepathy-glib/dbus-properties-mixin.h and use it even if there are no properties in that interface.  Attaching a patch set which makes the codegen detect this and not use the mixin if it can avoid it.

The purpose of this is so that generated ginterfaces without properties are standalone and don't require telepathy-glib at all.
Comment 1 Ross Burton 2008-11-28 02:33:42 UTC
Created attachment 20655 [details] [review]
Only include the mixin headers if required
Comment 2 Simon McVittie 2009-01-12 04:50:12 UTC
Fixed in 0.7.19

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.