summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-17 15:06:17 +0200
committerThomas Haller <thaller@redhat.com>2019-10-17 15:06:24 +0200
commitcb4bd173eb93e84e6768bf55df39af74b73b7d8f (patch)
treeb32deb77bd67b73fb055839502faadc51811ef0f
parent198591a694432ebcacc881e0b11412d6c85178aa (diff)
downloadNetworkManager-cb4bd173eb93e84e6768bf55df39af74b73b7d8f.tar.gz
libnm: fix nm_device_delete_async() after GDBusConnection rework
Fixes: c1046dd803ed ('libnm: implement nm_device_delete()/nm_device_delete_async() by using GDBusConnection directly')
-rw-r--r--libnm/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index e509ddf2d2..2ee83cf56b 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -2425,7 +2425,7 @@ nm_device_delete_async (NMDevice *device,
user_data,
g_dbus_proxy_get_object_path (G_DBUS_PROXY (NM_DEVICE_GET_PRIVATE (device)->proxy)),
NM_DBUS_INTERFACE_DEVICE,
- "Disconnect",
+ "Delete",
g_variant_new ("()"),
G_VARIANT_TYPE ("()"),
G_DBUS_CALL_FLAGS_NONE,