aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-05 20:31:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-05 21:34:58 +0800
commita410ade02281b10da83840f2782071935130ba3f (patch)
tree93dfd37fb66c45b2b9fa814adecee1bd83dcfee1 /src
parent512fe980bc5c90b54d37ae1ecf85cdf4dc0c787e (diff)
downloadgsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar.gz
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar.bz2
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar.lz
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar.xz
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.tar.zst
gsoc2013-empathy-a410ade02281b10da83840f2782071935130ba3f.zip
call_handler_notify_tp_call_cb: return if call is NULL
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 8e821ab2d..c6332ad27 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1860,7 +1860,8 @@ call_handler_notify_tp_call_cb (EmpathyCallHandler *handler,
EmpathyTpCall *call;
g_object_get (priv->handler, "tp-call", &call, NULL);
- g_assert (call != NULL);
+ if (call == NULL)
+ return;
empathy_signal_connect_weak (call, "audio-stream-error",
G_CALLBACK (empathy_call_window_audio_stream_error), G_OBJECT (self));