summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-25 17:51:20 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-25 17:51:20 +0100
commit6d32f6269a5dd725233ea149ea2ab11fcfbc01c3 (patch)
tree27d7bd1bc958af85940a539dae85bdd12ad8648f
parent99134d001b4e67de753f99bfb40d852378379ece (diff)
client: fix type assertion
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--telepathy-ytstenut-glib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-ytstenut-glib/client.c b/telepathy-ytstenut-glib/client.c
index 11a2893..691fcc0 100644
--- a/telepathy-ytstenut-glib/client.c
+++ b/telepathy-ytstenut-glib/client.c
@@ -356,7 +356,7 @@ tp_yts_client_register (TpYtsClient *self,
TpYtsChannel *
tp_yts_client_accept_channel (TpYtsClient *self)
{
- g_return_val_if_fail (TP_IS_YTS_CHANNEL (self), NULL);
+ g_return_val_if_fail (TP_IS_YTS_CLIENT (self), NULL);
return g_queue_pop_head (&self->priv->incoming_channels);
}