diff --git a/src/devices/nm-device-team.c b/src/devices/nm-device-team.c index 896e94305f..82e59bcea5 100644 --- a/src/devices/nm-device-team.c +++ b/src/devices/nm-device-team.c @@ -241,7 +241,7 @@ teamd_cleanup (NMDevice *dev) NMDeviceTeamPrivate *priv = NM_DEVICE_TEAM_GET_PRIVATE (dev); if (priv->teamd_dbus_watch) { - g_source_remove (priv->teamd_dbus_watch); + g_bus_unwatch_name (priv->teamd_dbus_watch); priv->teamd_dbus_watch = 0; }