diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-23 11:58:54 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:24 +0100 |
commit | 86aa9df84920d4dfdf50a7b7507bf82adc1056a5 (patch) | |
tree | e9a4cb00fa1d10e4efcbb639a4705b84b66a0fff /src/mm-plugin-base.c | |
parent | 4ad9374159551463e976c825a50685e27140b31f (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-base.c')
-rw-r--r-- | src/mm-plugin-base.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index 4cc4bf39..5bfb643d 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -544,7 +544,7 @@ supports_port (MMPlugin *plugin, const gchar *subsys, const gchar *name, const gchar *physdev_path, - MMModem *existing, + MMBaseModem *existing, GAsyncReadyCallback callback, gpointer user_data) { @@ -695,17 +695,17 @@ supports_port_cancel (MMPlugin *plugin, g_free (key); } -static MMModem * +static MMBaseModem * grab_port (MMPlugin *plugin, const char *subsys, const char *name, - MMModem *existing, + MMBaseModem *existing, GError **error) { MMPluginBase *self = MM_PLUGIN_BASE (plugin); MMPluginBasePrivate *priv = MM_PLUGIN_BASE_GET_PRIVATE (self); MMPortProbe *probe; - MMModem *modem = NULL; + MMBaseModem *modem = NULL; char *key; key = get_key (subsys, name); |