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:
Thomas Haller 2019-12-05 12:27:13 +01:00
parent ea4e95ec33
commit 15fb8fe26d

View file

@ -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);