telepathy-salut: tube-dbus: fix TpTubeChannelState enum casting
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed Oct 2 08:41:18 PDT 2013
Module: telepathy-salut
Branch: master
Commit: f890b1e51f7b82cff8aa8bb034280c4a99f0a091
URL: http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=f890b1e51f7b82cff8aa8bb034280c4a99f0a091
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Wed Oct 2 16:23:20 2013 +0200
tube-dbus: fix TpTubeChannelState enum casting
---
src/tube-dbus.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index 0c2f057..08cb001 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -472,21 +472,21 @@ get_tube_state (SalutTubeDBus *self)
if (priv->bytestream == NULL)
/* bytestream not yet created as we're waiting for the SI reply */
- return TP_TUBE_STATE_REMOTE_PENDING;
+ return TP_TUBE_CHANNEL_STATE_REMOTE_PENDING;
g_object_get (priv->bytestream, "state", &bytestream_state, NULL);
switch (bytestream_state)
{
case GIBBER_BYTESTREAM_STATE_OPEN:
- return TP_TUBE_STATE_OPEN;
+ return TP_TUBE_CHANNEL_STATE_OPEN;
break;
case GIBBER_BYTESTREAM_STATE_LOCAL_PENDING:
case GIBBER_BYTESTREAM_STATE_ACCEPTED:
- return TP_TUBE_STATE_LOCAL_PENDING;
+ return TP_TUBE_CHANNEL_STATE_LOCAL_PENDING;
break;
case GIBBER_BYTESTREAM_STATE_INITIATING:
- return TP_TUBE_STATE_REMOTE_PENDING;
+ return TP_TUBE_CHANNEL_STATE_REMOTE_PENDING;
break;
default:
g_assert_not_reached ();
More information about the telepathy-commits
mailing list