aboutsummaryrefslogtreecommitdiff
path: root/src/sound-menu.vala
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-10-28 17:43:01 +0000
committerTarmac <Unknown>2013-10-28 17:43:01 +0000
commit712c11842d70600af595b706a03a77df628d981d (patch)
tree2b53b8c903a3072214bc43aba97032e40ca9addf /src/sound-menu.vala
parentdd48ee78afe56d2db5fa22de62a4808eb5fc8276 (diff)
parentf20f87c277dc55a99cace2a3e80797d796265f51 (diff)
downloadayatana-indicator-sound-712c11842d70600af595b706a03a77df628d981d.tar.gz
ayatana-indicator-sound-712c11842d70600af595b706a03a77df628d981d.tar.bz2
ayatana-indicator-sound-712c11842d70600af595b706a03a77df628d981d.zip
VolumeControl: don't pass vala closures into libpulse
Libpulse's vala bindings don't specify that callbacks passed into some of its functions (e.g., get_server_info) can be called after the function returns. Vala thus frees closure data after these functions return. This can't easily be fixed in the bindings, because libpulse doesn't provide variants of these functions with destroy_notifies. This patch works around this problem by only passing non-closure functions into libpulse. Fixes: https://bugs.launchpad.net/bugs/1244386. Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'src/sound-menu.vala')
0 files changed, 0 insertions, 0 deletions