port-probe: rename _get_port() to _peek_port() as there is no ownership transfer
This commit is contained in:
+1
-1
@@ -933,7 +933,7 @@ mm_port_probe_get_port_type (MMPortProbe *self)
|
||||
}
|
||||
|
||||
GUdevDevice *
|
||||
mm_port_probe_get_port (MMPortProbe *self)
|
||||
mm_port_probe_peek_port (MMPortProbe *self)
|
||||
{
|
||||
g_return_val_if_fail (MM_IS_PORT_PROBE (self), NULL);
|
||||
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ MMPortProbe *mm_port_probe_new (GUdevDevice *port,
|
||||
const gchar *physdev_path,
|
||||
const gchar *driver);
|
||||
|
||||
GUdevDevice *mm_port_probe_get_port (MMPortProbe *self);
|
||||
GUdevDevice *mm_port_probe_peek_port (MMPortProbe *self);
|
||||
const gchar *mm_port_probe_get_port_name (MMPortProbe *self);
|
||||
const gchar *mm_port_probe_get_port_subsys (MMPortProbe *self);
|
||||
const gchar *mm_port_probe_get_port_physdev (MMPortProbe *self);
|
||||
|
||||
Reference in New Issue
Block a user