2006-02-15  Jens Granseuer <jensgr@gmx.net>

	Fixes #331168

	* acme-volume-gstreamer.c (acme_volume_gstreamer_open): C89 compilation
	fixes.
This commit is contained in:
Jens Granseuer 2006-02-15 14:20:38 +00:00 committed by Rodrigo Moya
parent 3a90c800b5
commit 6a122e312a
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2006-02-15 Jens Granseuer <jensgr@gmx.net>
Fixes #331168
* acme-volume-gstreamer.c (acme_volume_gstreamer_open): C89 compilation
fixes.
2006-02-06 Rodrigo Moya <rodrigo@novell.com>
* gnome-settings-sound.c (start_esd): only start esd if not running.

View file

@ -262,9 +262,13 @@ static gboolean
acme_volume_gstreamer_open (AcmeVolumeGStreamer *vol)
{
AcmeVolumeGStreamer *self = (AcmeVolumeGStreamer *) vol;
#ifdef HAVE_GST10
GList *mixer_list;
#else
const GList *elements;
gint num = 0;
#endif
if (self->_priv == NULL)
return FALSE;
@ -284,8 +288,6 @@ acme_volume_gstreamer_open (AcmeVolumeGStreamer *vol)
* everything just becomes a no-op.
*/
#ifdef HAVE_GST10
GList *mixer_list;
mixer_list = gst_audio_default_registry_mixer_filter (_acme_set_mixer,
TRUE,
self);