[telepathy-glib/master] TpBaseConnection: Allow GetInterfaces to succeed before CONNECTED
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Sep 3 09:21:54 PDT 2009
Also fix a misleading comment.
---
telepathy-glib/base-connection.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 32e5a68..e082621 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -1700,14 +1700,12 @@ tp_base_connection_get_interfaces (TpSvcConnection *iface,
g_assert (TP_IS_BASE_CONNECTION (self));
- TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED (self, context);
-
priv = self->priv;
klass = TP_BASE_CONNECTION_GET_CLASS (self);
if (priv->interfaces)
{
- /* There are some extra interfaces for this channel */
+ /* There are some extra interfaces for this connection */
interfaces = (const gchar **)(priv->interfaces->data);
}
else
--
1.5.6.5
More information about the telepathy-commits
mailing list