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
@@ -59,7 +59,6 @@ mm_plugin_supports_port (MMPlugin *self,
|
||||
MMPluginSupportsResult
|
||||
mm_plugin_supports_port_finish (MMPlugin *self,
|
||||
GAsyncResult *result,
|
||||
guint *level,
|
||||
GError **error)
|
||||
{
|
||||
g_return_val_if_fail (MM_IS_PLUGIN (self),
|
||||
@@ -69,7 +68,6 @@ mm_plugin_supports_port_finish (MMPlugin *self,
|
||||
|
||||
return MM_PLUGIN_GET_INTERFACE (self)->supports_port_finish (self,
|
||||
result,
|
||||
level,
|
||||
error);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user