libnm: add NM_CLIENT_DBUS_CONNECTION property

System Internals / NetworkManager - Thomas Haller [redhat.com] - 18 October 2019 20:09 EDT

The used GDBusConnection should be configurable when creating the NMClient instance. Automatically choosing one of the g_bus_get() singletons is fine by default, but it's an unnecessary limitation.

b2f7197b2 libnm: add NM_CLIENT_DBUS_CONNECTION property
libnm/libnm.ver | 1 +
libnm/nm-client.c | 111 +++++++++++++++++++++++++++++++++++++++++++-----------
libnm/nm-client.h | 12 ++++--
3 files changed, 97 insertions(+), 27 deletions(-)

Upstream: cgit.freedesktop.org


  • Share