mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 11:40:32 +01:00
libnm-core: fix nm_connection_replace_settings()
The rewrite mistakenly used nm_connection_add_setting() rather than _nm_connection_add_setting(), causing it to emit the "changed" signal while the connection was only partially rebuilt.
This commit is contained in:
parent
ca5f23a8b6
commit
b40dc506a1
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ nm_connection_replace_settings (NMConnection *connection,
|
|||
changed = (settings != NULL);
|
||||
|
||||
for (s = settings; s; s = s->next)
|
||||
nm_connection_add_setting (connection, s->data);
|
||||
_nm_connection_add_setting (connection, s->data);
|
||||
|
||||
if (changed)
|
||||
g_signal_emit (connection, signals[CHANGED], 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue