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:
ba40d49
)
[CRASH FIX] deleting type when not exists
author
Alan Knowles
<alan@akbkhome.com>
Sat, 3 Apr 2010 10:10:52 +0000
(18:10 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 3 Apr 2010 10:10:52 +0000
(18:10 +0800)
This stops crashing happening when type tries to be deleted when it's not there.
giscanner/glibtransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/glibtransformer.py
b/giscanner/glibtransformer.py
index
cfde94b
..
3e37855
100644
(file)
--- a/
giscanner/glibtransformer.py
+++ b/
giscanner/glibtransformer.py
@@
-141,7
+141,7
@@
class GLibTransformer(object):
# We don't want an alias for this - it's handled specially in
# the typelib compiler.
- if namespace.name == 'GObject':
+ if namespace.name == 'GObject'
and self._names.aliases['Type']
:
del self._names.aliases['Type']
def get_get_type_functions(self):