plugin-base: don't report numeric support level in the [0-100] range
There is no single case where more than one plugin may end up wanting to support a given port, and therefore there is no need to report the numeric support level when reporting SUPPORTED.
This commit is contained in:

committed by
Aleksander Morgado

parent
a1d2f20021
commit
2b20955489
@@ -82,7 +82,6 @@ struct _MMPlugin {
|
||||
/* Allows to get the result of an asynchronous port support check. */
|
||||
MMPluginSupportsResult (* supports_port_finish) (MMPlugin *self,
|
||||
GAsyncResult *result,
|
||||
guint *level,
|
||||
GError **error);
|
||||
|
||||
/* Called to cancel an ongoing supports_port() operation or to notify the
|
||||
@@ -126,7 +125,6 @@ void mm_plugin_supports_port (MMPlugin *plugin,
|
||||
|
||||
MMPluginSupportsResult mm_plugin_supports_port_finish (MMPlugin *plugin,
|
||||
GAsyncResult *result,
|
||||
guint *level,
|
||||
GError **error);
|
||||
|
||||
void mm_plugin_supports_port_cancel (MMPlugin *plugin,
|
||||
|
Reference in New Issue
Block a user