diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-06-27 18:02:26 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-06-27 18:13:11 -0400 |
commit | e4879c84a121cb2046fb64d30ca90f136802d90f (patch) | |
tree | 1b5d3423bb1ebac1dac544a473ead2f656efb299 /giscanner | |
parent | d31b635b00067b07526b77f87ea9d964a498be44 (diff) | |
download | gobject-introspection-e4879c84a121cb2046fb64d30ca90f136802d90f.tar.gz |
Revert scanner fix in 64f3832
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.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index 355158b7..850d2424 100644 --- 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 |