diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-22 15:01:01 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-06-11 15:44:58 +0100 |
commit | a4552870397dfad0f6f76e64e1f030845236cd98 (patch) | |
tree | 2df7e37dff7d413b6ca01c616747b3e9a6ec666f | |
parent | 050932ec56ad627380fce209eed9b26a593c3a00 (diff) | |
download | telepathy-glib-a4552870397dfad0f6f76e64e1f030845236cd98.tar.gz |
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.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65517
-rw-r--r-- | telepathy-glib/call-stream-endpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/call-stream-endpoint.c b/telepathy-glib/call-stream-endpoint.c index 698c473c1..2f87d2d3f 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))); |