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:
d31b635
)
Revert scanner fix in 64f3832
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 27 Jun 2012 22:02:26 +0000
(18:02 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 27 Jun 2012 22:13:11 +0000
(18:13 -0400)
This is incorrect -- the type name that's passed to the function
should contain a prefix. This fixes error domains for GLib errors.
Don't revert doc changes or test additions.
giscanner/maintransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/maintransformer.py
b/giscanner/maintransformer.py
index
355158b
..
850d242
100644
(file)
--- a/
giscanner/maintransformer.py
+++ b/
giscanner/maintransformer.py
@@
-901,7
+901,7
@@
the ones that failed to resolve removed."""
if not isinstance(enum, ast.Enum):
continue
type_name = enum.ctype
- uscored = to_underscores
_noprefix
(type_name).lower()
+ uscored = to_underscores(type_name).lower()
uscore_enums[uscored] = enum