aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-14 22:29:26 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-14 22:43:21 +0800
commitf3b365193241950efbe62737bcf049ac7d66d9c4 (patch)
tree4f3cf62775ffe3ff480ef1375384dbf4a29bc699 /src
parente6193d56618533455724a7ec82e4f275a81967c0 (diff)
downloadgsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar.gz
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar.bz2
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar.lz
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar.xz
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.tar.zst
gsoc2013-empathy-f3b365193241950efbe62737bcf049ac7d66d9c4.zip
Check for NULL sink.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 92c74b7cc..e7cbadc23 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);
}