plugin-base: rename 'cancel_supports_port' to 'supports_port_cancel'

We now have 'supports_port' (async method) and 'supports_port_finish' (to get
the result of the async method), so it makes sense to rename the method to
'supports_port_cancel'.
This commit is contained in:
Aleksander Morgado
2011-09-05 00:05:27 +02:00
committed by Aleksander Morgado
parent dc30536456
commit 62030debf2
4 changed files with 15 additions and 9 deletions

View File

@@ -74,7 +74,7 @@ mm_plugin_supports_port_finish (MMPlugin *self,
}
void
mm_plugin_cancel_supports_port (MMPlugin *plugin,
mm_plugin_supports_port_cancel (MMPlugin *plugin,
const char *subsys,
const char *name)
{
@@ -82,7 +82,7 @@ mm_plugin_cancel_supports_port (MMPlugin *plugin,
g_return_if_fail (subsys != NULL);
g_return_if_fail (name != NULL);
MM_PLUGIN_GET_INTERFACE (plugin)->cancel_supports_port (plugin, subsys, name);
MM_PLUGIN_GET_INTERFACE (plugin)->supports_port_cancel (plugin, subsys, name);
}
MMModem *