Maintransfomer: fix again paring error domains with unregistered enums
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 2 Jul 2012 20:51:19 +0000 (22:51 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 2 Jul 2012 21:16:52 +0000 (23:16 +0200)
commitb87a149dfbc5ce416e86e8f4aa9b45fc8a8cc791
tree115347f3bf14050c8303290a0cda0b3407c362b7
parentad29240abf5af3215c5ea31783da470e19af2fcf
Maintransfomer: fix again paring error domains with unregistered enums

Previous fix was wrong, as it called to_underscores_noprefix on a
prefixed type name. The actual fix is to call the transformer to
do the prefix / type_name split, and turn the latter to underscores.
Test case included.

https://bugzilla.gnome.org/show_bug.cgi?id=634202
giscanner/maintransformer.py
tests/scanner/SLetter-1.0-expected.gir
tests/scanner/sletter.c
tests/scanner/sletter.h