port-probe: rename _get_port() to _peek_port() as there is no ownership transfer

This commit is contained in:
Aleksander Morgado
2012-07-10 11:48:02 +02:00
parent e5e46f489e
commit a9075b0c09
7 changed files with 7 additions and 7 deletions

View File

@@ -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