plugin-base: remove `MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS' status

Support checks are fully asynchronous and result is always reported when the
check is considered ready, so in-progress replies to
`mm_plugin_supports_port_finish()' don't make any sense.
This commit is contained in:
Aleksander Morgado
2011-09-18 23:23:18 +02:00
committed by Aleksander Morgado
parent 2b20955489
commit 95ade9c617
2 changed files with 0 additions and 6 deletions

View File

@@ -269,11 +269,6 @@ supports_port_ready_cb (MMPlugin *plugin,
(GSourceFunc)find_port_support_idle,
info);
break;
case MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS:
/* We have full asynchronous support, now, so we shouldn't get an
* intermediate state here. */
g_assert_not_reached ();
}
}

View File

@@ -49,7 +49,6 @@ typedef void (*MMSupportsPortResultFunc) (MMPlugin *plugin,
typedef enum {
MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED = 0x0,
MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS,
MM_PLUGIN_SUPPORTS_PORT_DEFER,
MM_PLUGIN_SUPPORTS_PORT_SUPPORTED
} MMPluginSupportsResult;