Bug 556323 – transfer-ownership is wrong for functions returning const
authorJohan Bilien <jobi@via.ecp.fr>
Tue, 14 Oct 2008 22:51:28 +0000 (22:51 +0000)
committerJohan Bilien <jobi@src.gnome.org>
Tue, 14 Oct 2008 22:51:28 +0000 (22:51 +0000)
commit157bef8dc4e596c3ba247232fb3393646fbbe8a3
tree75b4fb56c4894ebb88a076da88eb6f08eb627ca9
parent92d2a182972e46beddfac38060c684c02c0f0cc3
Bug 556323 – transfer-ownership is wrong for functions returning const

2008-10-14  Johan Bilien  <jobi@via.ecp.fr>

Bug 556323 – transfer-ownership is wrong for functions returning const
char *

* giscanner/transformer.py: check for a const string as return value,
not just const char*. Suggested by Colin Walters
* tests/scanner/annotation-1.0-expected.gir: updated expected output

svn path=/trunk/; revision=707
ChangeLog
giscanner/transformer.py
tests/scanner/annotation-1.0-expected.gir