-
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.