From e4879c84a121cb2046fb64d30ca90f136802d90f Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 27 Jun 2012 18:02:26 -0400 Subject: 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. --- giscanner/maintransformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1