mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02:00
libnm: fix nm_device_set_autoconnect() to use correct D-Bus property name
Fixes:ce0e898fb4('libnm: refactor caching of D-Bus objects in NMClient') (cherry picked from commit6b64fac06d) (cherry picked from commit950b7d573b) (cherry picked from commit2695d10278)
This commit is contained in:
parent
b24e5fec1f
commit
ba69129298
1 changed files with 2 additions and 2 deletions
|
|
@ -1304,7 +1304,7 @@ nm_device_get_autoconnect (NMDevice *device)
|
||||||
* Enables or disables automatic activation of the #NMDevice.
|
* Enables or disables automatic activation of the #NMDevice.
|
||||||
*
|
*
|
||||||
* Deprecated: 1.22: Use the async command nm_client_dbus_set_property() on
|
* Deprecated: 1.22: Use the async command nm_client_dbus_set_property() on
|
||||||
* nm_object_get_path(), %NM_DBUS_INTERFACE_DEVICE to set "AutoConnect" property to a "(b)" value.
|
* nm_object_get_path(), %NM_DBUS_INTERFACE_DEVICE to set "Autoconnect" property to a "(b)" value.
|
||||||
* This function is deprecated because it calls a synchronous D-Bus method
|
* This function is deprecated because it calls a synchronous D-Bus method
|
||||||
* and modifies the content of the NMClient cache client side.
|
* and modifies the content of the NMClient cache client side.
|
||||||
**/
|
**/
|
||||||
|
|
@ -1318,7 +1318,7 @@ nm_device_set_autoconnect (NMDevice *device, gboolean autoconnect)
|
||||||
_nm_client_set_property_sync_legacy (_nm_object_get_client (device),
|
_nm_client_set_property_sync_legacy (_nm_object_get_client (device),
|
||||||
_nm_object_get_path (device),
|
_nm_object_get_path (device),
|
||||||
NM_DBUS_INTERFACE_DEVICE,
|
NM_DBUS_INTERFACE_DEVICE,
|
||||||
"AutoConnect",
|
"Autoconnect",
|
||||||
"b",
|
"b",
|
||||||
autoconnect);
|
autoconnect);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue