[Telepathy-commits] [telepathy-glib/master] glib-ginterface-gen.py: remove trailing whitespace

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Nov 28 02:39:23 PST 2008


---
 tools/glib-ginterface-gen.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index fd7ad41..951eb47 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -211,11 +211,11 @@ class Generator(object):
         if properties:
             self.b('  static TpDBusPropertiesMixinPropInfo properties[%d] = {'
                    % (len(properties) + 1))
-            
+
             for m in properties:
                 access = m.getAttribute('access')
                 assert access in ('read', 'write', 'readwrite')
-                
+
                 if access == 'read':
                     flags = 'TP_DBUS_PROPERTIES_MIXIN_FLAG_READ'
                 elif access == 'write':
@@ -223,10 +223,10 @@ class Generator(object):
                 else:
                     flags = ('TP_DBUS_PROPERTIES_MIXIN_FLAG_READ | '
                              'TP_DBUS_PROPERTIES_MIXIN_FLAG_WRITE')
-                    
+
                 self.b('      { 0, %s, "%s", 0, NULL, NULL }, /* %s */'
                        % (flags, m.getAttribute('type'), m.getAttribute('name')))
-                
+
             self.b('      { 0, 0, NULL, 0, NULL, NULL }')
             self.b('  };')
             self.b('  static TpDBusPropertiesMixinIfaceInfo interface =')
@@ -234,16 +234,16 @@ class Generator(object):
             self.b('')
             self.b('  interface.dbus_interface = g_quark_from_static_string '
                    '("%s");' % self.iface_name)
-            
+
             for i, m in enumerate(properties):
                 self.b('  properties[%d].name = g_quark_from_static_string ("%s");'
                        % (i, m.getAttribute('name')))
                 self.b('  properties[%d].type = %s;'
                            % (i, type_to_gtype(m.getAttribute('type'))[1]))
-                
+
             self.b('  tp_svc_interface_set_dbus_properties_info (%s, &interface);'
                    % self.current_gtype)
-            
+
             self.b('')
 
         for s in base_init_code:
-- 
1.5.6.5




More information about the Telepathy-commits mailing list