projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9708af
)
giscanner: don't lose 'transfer-ownership' attributes when injecting
author
Tommi Komulainen
<tko@src.gnome.org>
Mon, 20 Oct 2008 13:44:15 +0000
(13:44 +0000)
committer
Tommi Komulainen
<tko@src.gnome.org>
Mon, 20 Oct 2008 13:44:15 +0000
(13:44 +0000)
* giscanner/girparser.py (_parse_function): don't lose
'transfer-ownership' attributes when injecting, check for the
correct attribute
svn path=/trunk/; revision=755
giscanner/girparser.py
patch
|
blob
|
history
diff --git
a/giscanner/girparser.py
b/giscanner/girparser.py
index
c13b217
..
bda43e7
100644
(file)
--- a/
giscanner/girparser.py
+++ b/
giscanner/girparser.py
@@
-165,7
+165,7
@@
class GIRParser(object):
param = Parameter(paramnode.attrib.get('name'),
self._parse_type(paramnode),
paramnode.attrib.get('direction'),
- paramnode.attrib.get('transfer'),
+ paramnode.attrib.get('transfer
-ownership
'),
paramnode.attrib.get('allow-none') == '1')
parameters.append(param)
if klass is Callback: