summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiraj Razick <siraj.razick@collabora.co.uk>2012-02-17 15:29:27 -0500
committerSiraj Razick <siraj.razick@collabora.co.uk>2012-02-17 15:29:27 -0500
commitca3488c19990e0a629e46194da3925c291366c77 (patch)
tree1ba3657ac7046521c5267ee6c0cb5142f938f9c0
parent0a521ad35f8a04345fb35c1c560d2aaa788072dc (diff)
plugin-base: Remove The duplicate TpBaseConnection.
Gabble and Salut Plugin API was updated to remove the dupliate TpBaseconnection from create_channel_managers. This patch updates the plugin-base to match the API change
-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);