aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-23 11:58:54 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:24 +0100
commit86aa9df84920d4dfdf50a7b7507bf82adc1056a5 (patch)
treee9a4cb00fa1d10e4efcbb639a4705b84b66a0fff /src/mm-plugin.c
parent4ad9374159551463e976c825a50685e27140b31f (diff)
core: start using MMBroadbandModem objects
We chain up the Generic plugin created MMBroadbandModem objects within the GDBusObjectManagerServer in MMManager, so that they get properly exported in DBus.
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r--src/mm-plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index 26f40ae2..950efc4c 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -37,7 +37,7 @@ mm_plugin_supports_port (MMPlugin *self,
const gchar *subsys,
const gchar *name,
const gchar *physdev_path,
- MMModem *existing,
+ MMBaseModem *existing,
GAsyncReadyCallback callback,
gpointer user_data)
{
@@ -83,11 +83,11 @@ mm_plugin_supports_port_cancel (MMPlugin *plugin,
MM_PLUGIN_GET_INTERFACE (plugin)->supports_port_cancel (plugin, subsys, name);
}
-MMModem *
+MMBaseModem *
mm_plugin_grab_port (MMPlugin *plugin,
const char *subsys,
const char *name,
- MMModem *existing,
+ MMBaseModem *existing,
GError **error)
{
g_return_val_if_fail (MM_IS_PLUGIN (plugin), FALSE);