summaryrefslogtreecommitdiff
path: root/gabble
diff options
context:
space:
mode:
authorSiraj Razick <siraj.razick@collabora.co.uk>2012-02-17 15:35:49 -0500
committerSiraj Razick <siraj.razick@collabora.co.uk>2012-02-17 15:35:49 -0500
commite651270a8a58da63e3f6fe739a6491942604cea5 (patch)
tree2501ee12c187eea1440e359c8cff54f7829a87dd /gabble
parent571037bf029f2cd46f85a50d7d2b0892ae50be10 (diff)
plugins: Remove the dupliate TpBaseConnection from create_channel_managers
create_channel_managers already passes a GabblePluginConnection which can be casted into TpBaseConnection. So removing the duplicate TpBaseConnection pointer from the API
Diffstat (limited to 'gabble')
-rw-r--r--gabble/plugin.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gabble/plugin.h b/gabble/plugin.h
index c8e0699e6..abbbb8875 100644
--- a/gabble/plugin.h
+++ b/gabble/plugin.h
@@ -58,8 +58,7 @@ typedef void (*GabblePluginCreateSidecarImpl) (
* not have a free function. */
typedef GPtrArray * (*GabblePluginCreateChannelManagersImpl) (
GabblePlugin *plugin,
- GabblePluginConnection *plugin_connection,
- TpBaseConnection *connection);
+ GabblePluginConnection *plugin_connection);
typedef GabbleSidecar * (*GabblePluginCreateSidecarFinishImpl) (
GabblePlugin *plugin,
@@ -156,9 +155,7 @@ const gchar *gabble_plugin_presence_status_for_privacy_list (
const gchar *list_name);
GPtrArray * gabble_plugin_create_channel_managers (GabblePlugin *plugin,
- GabblePluginConnection *plugin_connection,
- TpBaseConnection *connection);
-
+ GabblePluginConnection *plugin_connection);
/**
* gabble_plugin_create:
*