team: fix wrong g_object_set() when updating connections

Fixes: 16a6991b90

https://bugzilla.redhat.com/show_bug.cgi?id=1390106
This commit is contained in:
Beniamino Galvani 2016-10-31 10:08:30 +01:00
parent e2b7da7b82
commit 58482a8fec

View file

@ -234,7 +234,7 @@ update_connection (NMDevice *device, NMConnection *connection)
priv->tdc = NULL;
}
g_object_set (G_OBJECT (s_team), _get_config (self), NULL);
g_object_set (G_OBJECT (s_team), NM_SETTING_TEAM_CONFIG, _get_config (self), NULL);
}
/*****************************************************************************/