~bryanfritt/compiz/compiz-ezoom_More-Specific-Zooms_1201061

Viewing all changes in revision 3758.

  • Committer: Tarmac
  • Author(s): Sami Jaktholm
  • Date: 2013-07-09 03:56:13 UTC
  • mfrom: (3753.5.2 fix-749084)
  • Revision ID: tarmac-20130709035613-mp1q2zrf8y4ofxgt
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. Fixes: https://bugs.launchpad.net/bugs/749084.

Approved by PS Jenkins bot, MC Return.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: