summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin-base/ytstenut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin-base/ytstenut.c b/plugin-base/ytstenut.c
index 72f8cab..fc7e473 100644
--- a/plugin-base/ytstenut.c
+++ b/plugin-base/ytstenut.c
@@ -149,10 +149,10 @@ ytstenut_plugin_create_sidecar_finish (
static GPtrArray *
ytstenut_plugin_create_channel_managers (
FooPlugin *plugin,
- FooConnection *plugin_connection,
- TpBaseConnection *connection)
+ FooConnection *plugin_connection)
{
GPtrArray *ret = g_ptr_array_sized_new (1);
+ TpBaseConnection *connection = TP_BASE_CONNECTION (plugin_connection);
DEBUG ("%p on connection %p", plugin, plugin_connection);