[Telepathy-commits] [telepathy-mission-control/master] Add a new MCD_CHANNEL_STATUS_REQUESTED
Alberto Mardegan
alberto.mardegan at nokia.com
Wed Jan 7 04:46:24 PST 2009
---
src/mcd-channel.c | 1 +
src/mcd-channel.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 2c8be34..7061618 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -606,6 +606,7 @@ mcd_channel_abort (McdMission *mission)
g_debug ("%s: %p", G_STRFUNC, mission);
/* If this is still a channel request, signal the failure */
if (priv->status == MCD_CHANNEL_STATUS_REQUEST ||
+ priv->status == MCD_CHANNEL_STATUS_REQUESTED ||
priv->status == MCD_CHANNEL_STATUS_DISPATCHING)
{
/* this code-path can only happen if the connection is aborted, as in
diff --git a/src/mcd-channel.h b/src/mcd-channel.h
index 15c05fd..e8e335c 100644
--- a/src/mcd-channel.h
+++ b/src/mcd-channel.h
@@ -53,6 +53,8 @@ typedef enum
NewChannel signal before the connection
is ready */
MCD_CHANNEL_STATUS_REQUEST, /* Telepathy channel is not yet created */
+ MCD_CHANNEL_STATUS_REQUESTED, /* Channel has been requested from the CM
+ */
MCD_CHANNEL_STATUS_DISPATCHING, /* Telepathy channel is created and
waiting dispatch */
MCD_CHANNEL_STATUS_DISPATCHED, /* Channel has been dispatched to handler
--
1.5.6.5
More information about the Telepathy-commits
mailing list