[empathy] audio-src: mutex is now on the stack



commit beeae4882070a075750b11b378d9c81e04adc86f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon May 21 15:41:44 2012 +0200

    audio-src: mutex is now on the stack

 src/empathy-audio-src.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index 79139bc..9a6ddee 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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]