aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-plugin-simtech.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-10 11:48:02 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:45 +0200
commita9075b0c09eb999eb64fda70154e055a9d0edb1d (patch)
treef5f7213a440d29914a039e94d07fb069230f8938 /plugins/simtech/mm-plugin-simtech.c
parente5e46f489e9d89bdecb4c4948b0d9627e33555cc (diff)
port-probe: rename _get_port() to _peek_port() as there is no ownership transfer
Diffstat (limited to 'plugins/simtech/mm-plugin-simtech.c')
-rw-r--r--plugins/simtech/mm-plugin-simtech.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/simtech/mm-plugin-simtech.c b/plugins/simtech/mm-plugin-simtech.c
index 5a07f1f3..19774a5a 100644
--- a/plugins/simtech/mm-plugin-simtech.c
+++ b/plugins/simtech/mm-plugin-simtech.c
@@ -65,7 +65,7 @@ grab_port (MMPlugin *self,
return FALSE;
}
- port = mm_port_probe_get_port (probe); /* transfer none */
+ port = mm_port_probe_peek_port (probe);
/* Look for port type hints; just probing can't distinguish which port should
* be the data/primary port on these devices. We have to tag them based on