summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-25 17:51:00 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-25 17:51:00 +0100
commit99134d001b4e67de753f99bfb40d852378379ece (patch)
tree1313fa2b31da37d7c778136daae54c27923e14fa
parentb5233315f92b591f35d8faadcfd4a0edb9b32d61 (diff)
channel: fix typo in returning the wrong type from _new()
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--telepathy-ytstenut-glib/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-ytstenut-glib/channel.c b/telepathy-ytstenut-glib/channel.c
index 6fee9a8..3479b28 100644
--- a/telepathy-ytstenut-glib/channel.c
+++ b/telepathy-ytstenut-glib/channel.c
@@ -126,7 +126,7 @@ tp_yts_channel_new_from_properties (TpConnection *conn,
if (!tp_dbus_check_valid_object_path (object_path, error))
goto finally;
- ret = TP_CHANNEL (g_object_new (TP_TYPE_CHANNEL,
+ ret = TP_CHANNEL (g_object_new (TP_TYPE_YTS_CHANNEL,
"connection", conn,
"dbus-daemon", conn_proxy->dbus_daemon,
"bus-name", conn_proxy->bus_name,