diff options
author | Thomas Haller <thaller@redhat.com> | 2019-09-02 10:27:31 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-21 14:58:26 +0200 |
commit | 0f9157f07b93e51dd6d71d99817b668494996944 (patch) | |
tree | f61f59343714ab773be65034f26455e517eba87f /libnm/nm-dbus-helpers.c | |
parent | be3712f6fbdf79a44512cef5da4005b2c9710da7 (diff) | |
download | NetworkManager-0f9157f07b93e51dd6d71d99817b668494996944.tar.gz |
libnm: drop _nm_dbus_is_connection_private()
Currently, we don't use private sockets. We are always connected
to D-Bus.
Diffstat (limited to 'libnm/nm-dbus-helpers.c')
-rw-r--r-- | libnm/nm-dbus-helpers.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libnm/nm-dbus-helpers.c b/libnm/nm-dbus-helpers.c index 834deebd6f..978d5e2a82 100644 --- a/libnm/nm-dbus-helpers.c +++ b/libnm/nm-dbus-helpers.c @@ -26,12 +26,6 @@ _nm_dbus_bus_type (void) return nm_bus; } -gboolean -_nm_dbus_is_connection_private (GDBusConnection *connection) -{ - return g_dbus_connection_get_unique_name (connection) == NULL; -} - /* D-Bus has an upper limit on number of Match rules and it's rather easy * to hit as the proxy likes to add one for each object. Let's remove the Match * rule the proxy added and ensure a less granular rule is present instead. |