[empathy] call_handler_notify_tp_call_cb: return if call is NULL
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] call_handler_notify_tp_call_cb: return if call is NULL
- Date: Thu, 5 Nov 2009 13:35:44 +0000 (UTC)
commit a410ade02281b10da83840f2782071935130ba3f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Nov 5 12:31:39 2009 +0000
call_handler_notify_tp_call_cb: return if call is NULL
src/empathy-call-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 8e821ab..c6332ad 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]