diff options
Diffstat (limited to 'libnm/nm-active-connection.c')
-rw-r--r-- | libnm/nm-active-connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-active-connection.c b/libnm/nm-active-connection.c index 7088e496a4..8230b8b4f5 100644 --- a/libnm/nm-active-connection.c +++ b/libnm/nm-active-connection.c @@ -97,7 +97,7 @@ _nm_active_connection_type_for_path (DBusGConnection *connection, GValue value = G_VALUE_INIT; GType type; - proxy = _nm_dbus_new_proxy_for_connection (connection, path, "org.freedesktop.DBus.Properties"); + proxy = _nm_dbus_new_proxy_for_connection (connection, path, DBUS_INTERFACE_PROPERTIES); if (!proxy) { g_warning ("%s: couldn't create D-Bus object proxy.", __func__); return G_TYPE_INVALID; @@ -174,7 +174,7 @@ _nm_active_connection_type_for_path_async (DBusGConnection *connection, async_data->callback = callback; async_data->user_data = user_data; - proxy = _nm_dbus_new_proxy_for_connection (connection, path, "org.freedesktop.DBus.Properties"); + proxy = _nm_dbus_new_proxy_for_connection (connection, path, DBUS_INTERFACE_PROPERTIES); dbus_g_proxy_begin_call (proxy, "Get", async_got_type, async_data, NULL, G_TYPE_STRING, NM_DBUS_INTERFACE_ACTIVE_CONNECTION, |