From ca3488c19990e0a629e46194da3925c291366c77 Mon Sep 17 00:00:00 2001 From: Siraj Razick Date: Fri, 17 Feb 2012 15:29:27 -0500 Subject: 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 --- plugin-base/ytstenut.c | 4 ++-- 1 file 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); -- cgit v1.2.3