telepathy-mission-control: mcd_channel_is_missed: remove, unused
Simon McVittie
smcv at kemper.freedesktop.org
Thu May 10 08:15:16 PDT 2012
Module: telepathy-mission-control
Branch: master
Commit: c91020a26d451d44096eea463e393a1b3101e3f1
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=c91020a26d451d44096eea463e393a1b3101e3f1
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue May 8 13:25:47 2012 +0100
mcd_channel_is_missed: remove, unused
---
src/mcd-channel.c | 24 ------------------------
src/mcd-channel.h | 1 -
2 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index fe16bdc..7ae6e93 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -69,7 +69,6 @@ struct _McdChannelPrivate
guint outgoing : 1;
guint has_group_if : 1;
guint members_accepted : 1;
- guint missed : 1;
guint is_disposed : 1;
guint is_aborted : 1;
guint constructing : 1;
@@ -160,14 +159,6 @@ on_members_changed (TpChannel *proxy, const gchar *message,
{
removed_handle = g_array_index (removed, guint, i);
DEBUG ("removed member %u", removed_handle);
- if (removed_handle == self_handle ||
- removed_handle == conn_self_handle)
- {
- /* We are removed (end of call), marking as missed, if not
- * already accespted the call */
- if (!priv->members_accepted) priv->missed = TRUE;
- break;
- }
}
}
}
@@ -978,21 +969,6 @@ mcd_channel_get_inviter (McdChannel *channel)
return NULL;
}
-/**
- * mcd_channel_is_missed:
- * @channel: the #McdChannel.
- *
- * Return %TRUE if the remote party removed itself before we could join the
- * channel.
- *
- * Returns: %TRUE if the channel is missed.
- */
-gboolean
-mcd_channel_is_missed (McdChannel *channel)
-{
- return MCD_CHANNEL_PRIV (channel)->missed;
-}
-
/*
* _mcd_channel_get_immutable_properties:
* @channel: the #McdChannel.
diff --git a/src/mcd-channel.h b/src/mcd-channel.h
index 53819eb..1678126 100644
--- a/src/mcd-channel.h
+++ b/src/mcd-channel.h
@@ -109,7 +109,6 @@ guint mcd_channel_get_handle (McdChannel *channel);
TpHandleType mcd_channel_get_handle_type (McdChannel *channel);
const gchar *mcd_channel_get_name (McdChannel *channel);
const gchar *mcd_channel_get_inviter (McdChannel *channel);
-gboolean mcd_channel_is_missed (McdChannel *channel);
gboolean mcd_channel_is_requested (McdChannel *channel);
McdAccount *mcd_channel_get_account (McdChannel *channel);
TpChannel *mcd_channel_get_tp_channel (McdChannel *channel);
More information about the telepathy-commits
mailing list