diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 17:43:01 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-28 17:43:01 +0000 |
commit | 712c11842d70600af595b706a03a77df628d981d (patch) | |
tree | 2b53b8c903a3072214bc43aba97032e40ca9addf /vapi/bus-watcher.vapi | |
parent | dd48ee78afe56d2db5fa22de62a4808eb5fc8276 (diff) | |
parent | f20f87c277dc55a99cace2a3e80797d796265f51 (diff) | |
download | ayatana-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 'vapi/bus-watcher.vapi')
0 files changed, 0 insertions, 0 deletions