telepathy-mission-control: mcd_channel_get_inviter: remove
Simon McVittie
smcv at kemper.freedesktop.org
Thu May 10 08:15:16 PDT 2012
Module: telepathy-mission-control
Branch: master
Commit: a70fc835f8bfaa3addab1106ff90e2b78b5dc737
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=a70fc835f8bfaa3addab1106ff90e2b78b5dc737
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue May 8 13:30:02 2012 +0100
mcd_channel_get_inviter: remove
---
src/mcd-channel.c | 27 ---------------------------
src/mcd-channel.h | 1 -
2 files changed, 0 insertions(+), 28 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index ca81f18..ab0c107 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -856,33 +856,6 @@ mcd_channel_get_name (McdChannel *channel)
return tp_asv_get_string (properties, TP_IFACE_CHANNEL ".TargetID");
}
-/**
- * mcd_channel_get_inviter:
- * @channel: the #McdChannel.
- *
- * Get the address of the inviter (i.e. the actor who put us in the pending
- * local members list).
- *
- * Returns: a const string holding the inviter address.
- */
-const gchar *
-mcd_channel_get_inviter (McdChannel *channel)
-{
- McdChannelPrivate *priv;
- GHashTable *properties = NULL;
-
- g_return_val_if_fail (MCD_IS_CHANNEL (channel), NULL);
- priv = channel->priv;
- if (priv->tp_chan)
- {
- properties = tp_channel_borrow_immutable_properties (priv->tp_chan);
- if (properties)
- return tp_asv_get_string (properties,
- TP_IFACE_CHANNEL ".InitiatorID");
- }
- return NULL;
-}
-
/*
* _mcd_channel_get_immutable_properties:
* @channel: the #McdChannel.
diff --git a/src/mcd-channel.h b/src/mcd-channel.h
index e67e7dd..a1da372 100644
--- a/src/mcd-channel.h
+++ b/src/mcd-channel.h
@@ -107,7 +107,6 @@ const gchar* mcd_channel_get_object_path (McdChannel *channel);
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_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