From a9075b0c09eb999eb64fda70154e055a9d0edb1d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 10 Jul 2012 11:48:02 +0200 Subject: port-probe: rename _get_port() to _peek_port() as there is no ownership transfer --- plugins/simtech/mm-plugin-simtech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/simtech/mm-plugin-simtech.c') 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 -- cgit v1.2.3-70-g09d2