[empathy: 81/99] Directly call the callback if we're ready
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 81/99] Directly call the callback if we're ready
- Date: Thu, 9 Jun 2011 09:56:09 +0000 (UTC)
commit f6a73795877708151ae8ea751553d4cebd23b968
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Mon May 23 12:41:35 2011 +0100
Directly call the callback if we're ready
Instead of duplicating the code in two places.
src/empathy-call-window.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 0da1df6..eadc77c 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2705,14 +2705,7 @@ empathy_call_window_realized_cb (GtkWidget *widget, EmpathyCallWindow *window)
g_object_get (priv->handler, "call-channel", &call, NULL);
if (call != NULL)
{
-/* FIXME: part of the improvements for DRAFT2
- tp_g_signal_connect_object (call, "audio-stream-error",
- G_CALLBACK (empathy_call_window_audio_stream_error), window,
- 0);
- tp_g_signal_connect_object (call, "video-stream-error",
- G_CALLBACK (empathy_call_window_video_stream_error), window,
- 0);
-*/
+ call_handler_notify_call_cb (priv->handler, NULL, window);
g_object_unref (call);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]