diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-10 12:41:00 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:45 +0200 |
commit | 74dd7246697bb086c92fcdea93b26966fecc7fa5 (patch) | |
tree | 9ae7f6167ea116499721567978470e965dbf8ea4 /src/mm-plugin-manager.c | |
parent | b816887cace031b1b5fc33818fba9b513850f5b6 (diff) |
plugin: simplify interface by passing around the device and/or port objects
Diffstat (limited to 'src/mm-plugin-manager.c')
-rw-r--r-- | src/mm-plugin-manager.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c index 2d6ba835..b506f6da 100644 --- a/src/mm-plugin-manager.c +++ b/src/mm-plugin-manager.c @@ -392,10 +392,8 @@ port_probe_context_step (PortProbeContext *port_probe_ctx) /* Ask the current plugin to check support of this port */ mm_plugin_supports_port (MM_PLUGIN (port_probe_ctx->current->data), - g_udev_device_get_subsystem (port_probe_ctx->port), - g_udev_device_get_name (port_probe_ctx->port), - mm_device_get_path (ctx->device), - NULL, /* TODO: existing modem */ + G_OBJECT (ctx->device), + port_probe_ctx->port, (GAsyncReadyCallback)plugin_supports_port_ready, port_probe_ctx); } |