[gnome-control-center] sound: Remove support code for older PulseAudio
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sound: Remove support code for older PulseAudio
- Date: Wed, 11 Jul 2012 15:26:51 +0000 (UTC)
commit 3cf252f4f0874276804f0c64c3c194ed42995d02
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jul 11 16:24:53 2012 +0100
sound: Remove support code for older PulseAudio
our define of PA_VOLUME_UI_MAX was only needed for PA 0.9.22 and older.
panels/sound/gvc-mixer-control.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-control.c b/panels/sound/gvc-mixer-control.c
index 28bdd05..d9ad3dd 100644
--- a/panels/sound/gvc-mixer-control.c
+++ b/panels/sound/gvc-mixer-control.c
@@ -3345,11 +3345,6 @@ gvc_mixer_control_new (const char *name)
return GVC_MIXER_CONTROL (control);
}
-/* FIXME: Remove when PA 0.9.23 is used */
-#ifndef PA_VOLUME_UI_MAX
-#define PA_VOLUME_UI_MAX pa_sw_volume_from_dB(+11.0)
-#endif
-
gdouble
gvc_mixer_control_get_vol_max_norm (GvcMixerControl *control)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]