fix crash when trying to change volume using the multimedia keys, fixes

2005-06-12  Christophe Fergeau  <teuf@gnome.org>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_get_volume): fix crash when trying to change
	volume using the multimedia keys, fixes #307351
This commit is contained in:
Christophe Fergeau 2005-06-12 11:43:01 +00:00 committed by Christophe Fergeau
parent 9266532462
commit fc8728e747
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-06-12 Christophe Fergeau <teuf@gnome.org>
* actions/acme-volume-gstreamer.c:
(acme_volume_gstreamer_get_volume): fix crash when trying to change
volume using the multimedia keys, fixes #307351
2005-03-23 Carlos Garnacho Parro <carlosg@gnome.org>
* gnome-settings-accessibility-keyboard.c: make sticky keys and slow

View file

@ -147,10 +147,11 @@ acme_volume_gstreamer_get_volume (AcmeVolume *vol)
{
double volume;
AcmeVolumeGStreamer *self = (AcmeVolumeGStreamer *) vol;
GstMixerTrack *track = self->_priv->track;
GstMixerTrack *track;
if (acme_volume_gstreamer_open (self) == FALSE)
return 0;
track = self->_priv->track;
update_state (self);