mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 08:20:28 +01:00
settings/trivial: add fixme comment for creating GDBusConnection for ifcfg D-Bus interface
We really should just use the one and only main connection.
This commit is contained in:
parent
ea4e95ec33
commit
15fb8fe26d
1 changed files with 2 additions and 0 deletions
|
|
@ -1132,6 +1132,8 @@ _dbus_setup (NMSIfcfgRHPlugin *self)
|
|||
|
||||
_dbus_clear (self);
|
||||
|
||||
/* FIXME: we don't need a separate GDBusConnection. Just reuse the one from
|
||||
* nm_dbus_manager_get_dbus_connection(). */
|
||||
address = g_dbus_address_get_for_bus_sync (G_BUS_TYPE_SYSTEM, NULL, &error);
|
||||
if (address == NULL) {
|
||||
_LOGW ("dbus: failed getting address for system bus: %s", error->message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue