Bug 554521: scanner generates wrong names for enum members with
authorDan Winship <danw@src.gnome.org>
Thu, 2 Oct 2008 13:15:09 +0000 (13:15 +0000)
committerDan Winship <danw@src.gnome.org>
Thu, 2 Oct 2008 13:15:09 +0000 (13:15 +0000)
commit1ab23b133ad9b48b9f67117f150026ff48daa927
treef6345aac594765a01d82b875c3ebdf6e3f022a5b
parent4c510808d875abbc1c5933118e0fb0ac7a2ce9f7
Bug 554521: scanner generates wrong names for enum members with
full type name prefix

* giscanner/utils.py (strip_common_prefix): Fix this to strip the
right amount when the entire "first" string is a prefix of
"second"

* tests/scanner/foo.h (FooEnumFullname):
* tests/scanner/foo-expected.gir: test that

svn path=/trunk/; revision=640
ChangeLog
giscanner/utils.py
tests/scanner/foo-expected.gir
tests/scanner/foo.h