diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-26 20:40:57 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-26 20:40:57 -0400 |
commit | f20f87c277dc55a99cace2a3e80797d796265f51 (patch) | |
tree | 322e99a5103ef4f54da0e5a54197fb640a7d2645 /data/com.canonical.indicator.sound | |
parent | 81c82dca758bf30134e2483dfa897de0baecf647 (diff) | |
download | ayatana-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 'data/com.canonical.indicator.sound')
0 files changed, 0 insertions, 0 deletions