summaryrefslogtreecommitdiff
path: root/tools/glib-client-gen.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-02 20:29:39 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-02 20:29:39 +0000
commit8136442947484aecd2139f87ef5024c4a670a60d (patch)
tree56360bea364910a4d5781cf30f75fe24bff6b525 /tools/glib-client-gen.py
parent968e6fb8ea3b31efa6c28ad40cb587847183c491 (diff)
downloadtelepathy-glib-8136442947484aecd2139f87ef5024c4a670a60d.tar.gz
glib-client-gen: convert tp_proxy_api to a tuple for correct comparison with tuples
20080402202939-53eee-9d9dd7b474fd0e860dbe9f33ab07d4d252b6e538.gz
Diffstat (limited to 'tools/glib-client-gen.py')
-rw-r--r--tools/glib-client-gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/glib-client-gen.py b/tools/glib-client-gen.py
index bf40ab313..fede212dc 100644
--- a/tools/glib-client-gen.py
+++ b/tools/glib-client-gen.py
@@ -46,8 +46,8 @@ class Generator(object):
self.basename = basename
self.group = opts.get('--group', None)
self.iface_quark_prefix = opts.get('--iface-quark-prefix', None)
- self.tp_proxy_api = map(int,
- opts.get('--tp-proxy-api', '0').split('.'))
+ self.tp_proxy_api = tuple(map(int,
+ opts.get('--tp-proxy-api', '0').split('.')))
self.proxy_cls = opts.get('--subclass', 'TpProxy') + ' *'
self.proxy_arg = opts.get('--subclass', 'void') + ' *'
self.proxy_assert = opts.get('--subclass-assert', 'TP_IS_PROXY')