aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-21 21:41:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-21 21:41:44 +0800
commitbeeae4882070a075750b11b378d9c81e04adc86f (patch)
tree3e24f000f030cf2660026b0d01d56bcb99bea6dc
parent05649508bf21c519402a049ba5be367430eb58d5 (diff)
downloadgsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar.gz
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar.bz2
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar.lz
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar.xz
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.tar.zst
gsoc2013-empathy-beeae4882070a075750b11b378d9c81e04adc86f.zip
audio-src: mutex is now on the stack
-rw-r--r--src/empathy-audio-src.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index 79139bc9d..9a6ddee24 100644
--- a/src/empathy-audio-src.c
+++ b/src/empathy-audio-src.c
@@ -588,11 +588,11 @@ empathy_audio_src_volume_changed (GObject *object,
{
EmpathyGstAudioSrc *self = EMPATHY_GST_AUDIO_SRC (user_data);
- g_mutex_lock (self->priv->lock);
+ g_mutex_lock (&self->priv->lock);
if (self->priv->volume_idle_id == 0)
self->priv->volume_idle_id = g_idle_add (
empathy_audio_src_volume_changed_idle, self);
- g_mutex_unlock (self->priv->lock);
+ g_mutex_unlock (&self->priv->lock);
return FALSE;
}