diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-11 12:26:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:46 +0200 |
commit | bfc3cb27e1ae798b6934bb85d7b2106dec556ae5 (patch) | |
tree | 83f38c8bc62f93249101274c4dd4d6bb982b031e /src/mm-plugin.c | |
parent | 884aa7f2eb944ed70c3aa33b41631aa7138f854d (diff) |
device,plugin: let the `MMPlugin' API know about `MMDevice'
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 5bc62c09..40e215f8 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -467,12 +467,11 @@ mm_plugin_supports_port_finish (MMPlugin *self, void mm_plugin_supports_port (MMPlugin *self, - GObject *device_o, + MMDevice *device, GUdevDevice *port, GAsyncReadyCallback callback, gpointer user_data) { - MMDevice *device = MM_DEVICE (device_o); MMPortProbe *probe; GSimpleAsyncResult *async_result; PortProbeRunContext *ctx; @@ -579,10 +578,9 @@ out: MMBaseModem * mm_plugin_create_modem (MMPlugin *self, - GObject *device_o, + MMDevice *device, GError **error) { - MMDevice *device = MM_DEVICE (device_o); MMBaseModem *modem = NULL; GList *port_probes, *l; |