summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <dafydd.harries@collabora.co.uk>2006-11-29 16:54:25 +0000
committer <dafydd.harries@collabora.co.uk>2006-11-29 16:54:25 +0000
commit48b161c5d31146e6326f2798dab84d7647f27cd7 (patch)
treed26f5c327c4abec3120a4198a5ec6c308ab7b79e
parent677fd2caca9c388a553517ce58bdd388635e59db (diff)
downloadtelepathy-farstream-48b161c5d31146e6326f2798dab84d7647f27cd7.tar.gz
make cb_fs_stream_error call tp_stream_engine_stream_error
20061129165425-b59df-fe0cd24e0726c2887d2c234761c65ecc8a726070.gz
-rw-r--r--src/stream.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/stream.c b/src/stream.c
index aca5a5e..be08344 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -924,12 +924,9 @@ cb_fs_stream_error (FarsightStream *stream,
gpointer user_data)
{
TpStreamEngineStream *self = TP_STREAM_ENGINE_STREAM (user_data);
- TpStreamEngineStreamPrivate *priv = STREAM_PRIVATE (self);
- g_message ("%s: stream error: stream=%p error=%s", G_STRFUNC, stream, debug);
- /* FIXME: check if error is EOS */
- tp_media_stream_handler_error (priv->stream_handler_proxy, 0, debug, NULL);
- g_signal_emit (self, signals[STREAM_ERROR], 0);
+ /* FIXME: map Farsight errors to Telepathy errors */
+ tp_stream_engine_stream_error (self, 0, debug);
}
static void