projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d70b87
)
scanner: Remove array fields from List.clone()
author
Jesse van den Kieboom
<jesse.vandenkieboom@epfl.ch>
Wed, 11 Jan 2012 15:47:01 +0000
(16:47 +0100)
committer
Colin Walters
<walters@verbum.org>
Thu, 15 Mar 2012 15:22:12 +0000
(11:22 -0400)
These were apparently copied by mistake.
https://bugzilla.gnome.org/show_bug.cgi?id=667701
giscanner/ast.py
patch
|
blob
|
history
diff --git
a/giscanner/ast.py
b/giscanner/ast.py
index
9e9d7c3
..
a78a9f1
100644
(file)
--- a/
giscanner/ast.py
+++ b/
giscanner/ast.py
@@
-677,11
+677,7
@@
class List(Type):
self.element_type = element_type
def clone(self):
- l = List(self.name, self.element_type)
- l.zeroterminated = self.zeroterminated
- l.length_param_name = self.length_param_name
- l.size = self.size
- return l
+ return List(self.name, self.element_type)
class Map(Type):