diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-05-23 19:41:35 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:20:08 +0800 |
commit | f6a73795877708151ae8ea751553d4cebd23b968 (patch) | |
tree | 1954120252446eef1499eae2c46705b2b8d79127 | |
parent | e77ec8904ba6c4372c978ac51ce67d79dd90b869 (diff) | |
download | gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar.gz gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar.bz2 gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar.lz gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar.xz gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.tar.zst gsoc2013-empathy-f6a73795877708151ae8ea751553d4cebd23b968.zip |
Directly call the callback if we're ready
Instead of duplicating the code in two places.
-rw-r--r-- | 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 0da1df6e6..eadc77ca7 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 |