diff options
author | Olli Salli <olli.salli@collabora.co.uk> | 2012-03-16 19:56:16 +0200 |
---|---|---|
committer | Olli Salli <olli.salli@collabora.co.uk> | 2012-03-16 19:58:15 +0200 |
commit | 11d051ae6a911f63fd321ba7c5356023c434fd85 (patch) | |
tree | 05ee2fabd76d6ec0f2c31620dcbf39cb22db30df /plugins | |
parent | baa911b465906bc8b362d2e660fdd0b3911c0dc1 (diff) | |
download | telepathy-salut-11d051ae6a911f63fd321ba7c5356023c434fd85.tar.gz |
SalutPluginInitializeImpl: Replace the protocol ctor callback with a vtable of callbacks
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 * |