From: Jasper St. Pierre Date: Wed, 27 Jun 2012 22:02:26 +0000 (-0400) Subject: Revert scanner fix in 64f3832 X-Git-Tag: GOBJECT_INTROSPECTION_1_33_4~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4879c84a121cb2046fb64d30ca90f136802d90f;p=platform%2Fupstream%2Fgobject-introspection.git 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. --- diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index 355158b..850d242 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