From ea3dcc79513d2ffeeb12d81b915ca1b0028963b9 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 22 Feb 2012 15:01:01 +0000 Subject: [PATCH 5/5] tp_call_stream_endpoint_get_state: return a TpStreamEndpointState on error TP_MEDIA_STREAM_STATE_DISCONNECTED is from another enum entirely, and will no longer exist in Telepathy 1.0. --- telepathy-glib/call-stream-endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telepathy-glib/call-stream-endpoint.c b/telepathy-glib/call-stream-endpoint.c index 698c473..2f87d2d 100644 --- a/telepathy-glib/call-stream-endpoint.c +++ b/telepathy-glib/call-stream-endpoint.c @@ -549,7 +549,7 @@ tp_call_stream_endpoint_get_state (TpCallStreamEndpoint *self, TpStreamComponent component) { g_return_val_if_fail (TP_IS_CALL_STREAM_ENDPOINT (self), - TP_MEDIA_STREAM_STATE_DISCONNECTED); + TP_STREAM_ENDPOINT_STATE_FAILED); return GPOINTER_TO_UINT (g_hash_table_lookup (self->priv->endpoint_state, GUINT_TO_POINTER (component))); -- 1.7.10.4