~sjakthol/compiz/fix-749084

Viewing all changes in revision 3754.

  • Committer: Sami Jaktholm
  • Date: 2013-07-03 15:48:21 UTC
  • Revision ID: sampo_75@windowslive.com-20130703154821-lxnz8kmcl2d9ekdf
Port dbus introspection to compiz 0.9.
- move xml creation to a separate class (IntrospectionResponse) for easier
  memory management (allocate buffer and writer in ctor, free in dtor).
- move duplicated response sending code to a separate method that takes
  IntrospectionResponse and sends the resulting xml.
- Refactor handle*IntrospectMessage to work with compiz 0.9 interfaces.

This also fixes the broken list method which was a result of logic error. The
code to invoke list handler was never reached.

This fixes most of the issues noted in bug 749084.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: