diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2008-03-25 15:13:08 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2008-03-25 15:13:08 +0000 |
commit | 705a622d715a774126f61ea01cde5bd54268bfa7 (patch) | |
tree | 00eeab299812600e97e4e7d32b4bde09bbe0d432 /tools | |
parent | 259b55bb3782ca63be5d16039ce3489417f3289b (diff) |
glib-client-gen.py: Fix identation
Diffstat (limited to 'tools')
-rw-r--r-- | tools/glib-client-gen.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/glib-client-gen.py b/tools/glib-client-gen.py index 81d3aed23..5810052d3 100644 --- a/tools/glib-client-gen.py +++ b/tools/glib-client-gen.py @@ -1028,17 +1028,17 @@ class Generator(object): methods = node.getElementsByTagName('method') if signals: - self.b('static inline void') - self.b('%s_add_signals_for_%s (DBusGProxy *proxy)' - % (self.prefix_lc, name.lower())) - self.b('{') + self.b('static inline void') + self.b('%s_add_signals_for_%s (DBusGProxy *proxy)' + % (self.prefix_lc, name.lower())) + self.b('{') - for signal in signals: - self.do_signal_add(signal) + for signal in signals: + self.do_signal_add(signal) - self.b('}') - self.b('') - self.b('') + self.b('}') + self.b('') + self.b('') for signal in signals: self.do_signal(name, signal) @@ -1095,7 +1095,7 @@ class Generator(object): self.iface_dbus = iface.getAttribute('name') signals = node.getElementsByTagName('signal') if not signals: - continue + continue name = node.getAttribute('name').replace('/', '').lower() self.iface_uc = name.upper() self.b(' if (quark == %s)' % self.get_iface_quark()) |