]> code.delx.au - pulseaudio/commit
vala: More vala fixes
authorAlexander Kurtz <kurtz.alex@googlemail.com>
Mon, 18 Apr 2011 08:28:05 +0000 (10:28 +0200)
committerColin Guthrie <colin@mageia.org>
Mon, 18 Apr 2011 08:31:51 +0000 (10:31 +0200)
commit67ba3734eabf0cfaff6528c0e54db35dc839653a
tree6f6816340ebdef86d19d7393f372cdadc89fd580
parent0b2457432a95fc3b0ffdca815d14a7576a6d4b67
vala: More vala fixes

1. Remove the "has_destroy_function=false" attribute. It was only
necessary because of a bug in vala which is fixed in 0.12. [1]

2. Add sizes to all fixed-size arrays to make vala recognize them as
such. Using symbolic constants for this is not yet supported. [2]

3. CardInfo struct: Move the brackets in the list of available profiles
to the type to make it clear that this is a dynamically-sized array. [3]

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622773
[2] https://bugzilla.gnome.org/show_bug.cgi?id=647788
[3] http://0pointer.de/lennart/projects/pulseaudio/doxygen/structpa__card__info.html
vala/libpulse.vapi