aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@gnu.org>2011-09-18 23:23:18 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:21 +0100
commit95ade9c6177c1d51093e81a3fa6b6c28fc48a937 (patch)
treea15a49a2d145e96d54ded00bb68c0e1efd2874db /src
parent2b209554893b88443cb9295f8177c87b8ba6aa1f (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mm-plugin-manager.c5
-rw-r--r--src/mm-plugin.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c
index c765b750..f1473aee 100644
--- a/src/mm-plugin-manager.c
+++ b/src/mm-plugin-manager.c
@@ -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 ();
}
}
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index 696be1b6..f3c099b9 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -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;