From 11d051ae6a911f63fd321ba7c5356023c434fd85 Mon Sep 17 00:00:00 2001 From: Olli Salli Date: Fri, 16 Mar 2012 19:56:16 +0200 Subject: SalutPluginInitializeImpl: Replace the protocol ctor callback with a vtable of callbacks --- plugins/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/test.c b/plugins/test.c index 9df8a61a..803a7aa9 100644 --- a/plugins/test.c +++ b/plugins/test.c @@ -39,13 +39,13 @@ test_plugin_class_init (TestPluginClass *klass) static void initialize (SalutPlugin *plugin, TpBaseConnectionManager *connection_manager, - SalutCreateProtocolImpl callback) + const SalutPluginInitializeCallbacks *callbacks) { DEBUG ("%p on connection manager %p", plugin, connection_manager); /* If you wanted to add another protocol you could do it here by - * creating the protocol object and then calling - * tp_base_connection_manager_add_protocol(). */ + * creating the protocol object with callbacks->create_protocol + * and then calling tp_base_connection_manager_add_protocol(). */ } static GPtrArray * -- cgit v1.2.1