diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-10 13:14:13 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:45 +0200 |
commit | cf48d3daa790a57bd003e6488baf936ec186caee (patch) | |
tree | 9d0de2df27866e6d0c61b910f42799a5f0d51875 /src/mm-plugin.c | |
parent | d84cecac99fa0b06ade470d093932ae97c72fe4b (diff) |
plugin: don't provide an additional method to cancel the probing
We'll do it with a GCancellable.
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 5b47a324..64393bd7 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -578,26 +578,6 @@ out: g_object_unref (async_result); } -void -mm_plugin_supports_port_cancel (MMPlugin *plugin, - const char *subsys, - const char *name) -{ - MMPlugin *self = MM_PLUGIN (plugin); - MMPluginPrivate *priv = MM_PLUGIN_GET_PRIVATE (self); - MMPortProbe *probe; - gchar *key; - - key = get_key (subsys, name); - probe = g_hash_table_lookup (priv->tasks, key); - if (probe) { - mm_port_probe_run_cancel (probe); - g_hash_table_remove (priv->tasks, key); - } - - g_free (key); -} - /*****************************************************************************/ MMBaseModem * |