diff options
| author | Michael Biebl <biebl@debian.org> | 2024-08-09 18:57:15 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-08-09 18:57:15 +0200 |
| commit | e96d74409128c6a977e31f24fad9b267d2feb9a1 (patch) | |
| tree | 12dad71135c6c291de457568cb973208ea8a0024 /src/libnm-client-impl/nm-device.c | |
| parent | 45a364c60a9d6d34e614c4f1f507c69336ad1e69 (diff) | |
New upstream version 1.48.8 upstream/1.48.8
Diffstat (limited to 'src/libnm-client-impl/nm-device.c')
| -rw-r--r-- | src/libnm-client-impl/nm-device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libnm-client-impl/nm-device.c b/src/libnm-client-impl/nm-device.c index 2d3be64c..dc868f5b 100644 --- a/src/libnm-client-impl/nm-device.c +++ b/src/libnm-client-impl/nm-device.c @@ -1283,7 +1283,7 @@ nm_device_get_type_description(NMDevice *device) * Gets the devices currently set as port of @device. * * Returns: (element-type NMDevice): the #GPtrArray containing #NMDevices that - * are slaves of @device. This is the internal copy used by the device and + * are ports of @device. This is the internal copy used by the device and * must not be modified. * * Since: 1.34 @@ -1397,8 +1397,8 @@ _nm_device_notify_update_prop_ports(NMClient *client, nm_assert(notify_update_prop_flags == NML_DBUS_NOTIFY_UPDATE_PROP_FLAGS_NOTIFY); klass = NM_DEVICE_GET_CLASS(self); - if (klass->slaves_param_spec) - _nm_client_queue_notify_object(client, self, klass->slaves_param_spec); + if (klass->ports_param_spec) + _nm_client_queue_notify_object(client, self, klass->ports_param_spec); out: return NML_DBUS_NOTIFY_UPDATE_PROP_FLAGS_NONE; } |