summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarco Barisione <marco@barisione.org>2010-10-11 11:48:24 +0100
committerMarco Barisione <marco@barisione.org>2010-10-11 12:13:26 +0100
commit405e5898a4cdbd4caec9428a51da43b583c11e88 (patch)
treebd1cbc0a3b78c61d29b7172c648a22215ae87629 /tools
parent5e05c5e061fc46aa4545d227facfe07cdb9e0906 (diff)
libqt4codegen: get the Tp type of external types from the name attribute
In the spec the Telepathy type is the value of the "name" attribute of "<tp:external-type/>", but we were trying to use the non-existing "tp:type" attribute. Fixes: fd.o#30223 - telepathy-qt4's codegen doesn't deal with tp:external-type properly
Diffstat (limited to 'tools')
-rw-r--r--tools/libqt4codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libqt4codegen.py b/tools/libqt4codegen.py
index cf574088..3adfbc57 100644
--- a/tools/libqt4codegen.py
+++ b/tools/libqt4codegen.py
@@ -197,7 +197,7 @@ def gather_externals(spec):
for ext in spec.getElementsByTagNameNS(NS_TP, 'external-type'):
sig = ext.getAttribute('type')
- tptype = ext.getAttributeNS(NS_TP, 'type')
+ tptype = ext.getAttribute('name')
externals.append((sig, tptype))
return externals