[Telepathy-commits] [telepathy-mission-control/master] Fix introspection

Alberto Mardegan alberto.mardegan at nokia.com
Tue Nov 4 01:56:37 PST 2008


Always add properties glue information to DBusGObjectInfo.

branch: fix_introspection
---
 tools/glib-ginterface-gen.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index f5967a2..7e288c3 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -290,10 +290,9 @@ class Generator(object):
         self.b('  %d,' % len(methods))
         self.b('"' + method_blob.replace('\0', '\\0') + '",')
         self.b('"' + self.get_signal_glue(signals).replace('\0', '\\0') + '",')
-        if self.write_properties:
-            self.b('"' +
-                   self.get_property_glue(glue_properties).replace('\0', '\\0')
-                   + '",')
+        self.b('"' +
+               self.get_property_glue(glue_properties).replace('\0', '\\0') +
+               '",')
         self.b('};')
         self.b('')
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list