aboutsummaryrefslogtreecommitdiff
path: root/src/main.vala
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-10-26 20:40:57 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-10-26 20:40:57 -0400
commitf20f87c277dc55a99cace2a3e80797d796265f51 (patch)
tree322e99a5103ef4f54da0e5a54197fb640a7d2645 /src/main.vala
parent81c82dca758bf30134e2483dfa897de0baecf647 (diff)
downloadayatana-indicator-sound-f20f87c277dc55a99cace2a3e80797d796265f51.tar.gz
ayatana-indicator-sound-f20f87c277dc55a99cace2a3e80797d796265f51.tar.bz2
ayatana-indicator-sound-f20f87c277dc55a99cace2a3e80797d796265f51.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.
Diffstat (limited to 'src/main.vala')
0 files changed, 0 insertions, 0 deletions