[empathy] Check for NULL sink.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Check for NULL sink.
- Date: Mon, 14 Sep 2009 14:45:47 +0000 (UTC)
commit f3b365193241950efbe62737bcf049ac7d66d9c4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Sep 14 16:29:26 2009 +0200
Check for NULL sink.
src/empathy-call-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 92c74b7..e7cbadc 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2225,6 +2225,9 @@ empathy_call_window_volume_changed_cb (GtkScaleButton *button,
{
EmpathyCallWindowPriv *priv = GET_PRIV (window);
+ if (priv->audio_output == NULL)
+ return;
+
empathy_audio_sink_set_volume (EMPATHY_GST_AUDIO_SINK (priv->audio_output),
value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]