mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 10:10:14 +01:00
The proxy does nothing for us, except overhead. We can directly subscribe to "NameOwnerChanged" signals on the GDBusConnection. Also, instead of asynchronously creating the GDBusProxy, asynchronously call "GetNameOwner". That's what the proxy does anyway. GDBusConnection is actually a decent API. We don't need another layer on top of that, for functionality that we don't use. Also, don't use G_BUS_TYPE_SYSTEM, but use the GDBusConnection that also the bus-manager uses. For all practical purposes, that is the connection was want to use also in NMDnsSystemdResolved. |
||
|---|---|---|
| .. | ||
| nm-dns-dnsmasq.c | ||
| nm-dns-dnsmasq.h | ||
| nm-dns-manager.c | ||
| nm-dns-manager.h | ||
| nm-dns-plugin.c | ||
| nm-dns-plugin.h | ||
| nm-dns-systemd-resolved.c | ||
| nm-dns-systemd-resolved.h | ||
| nm-dns-unbound.c | ||
| nm-dns-unbound.h | ||