mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 00:55:56 +00:00
settings: do not emit "REMOVED" signal in do_delete() (bgo #683800)
It is emitted in nm_settings_connection_remove() called by plugins when the connection was removed. This prevents the signal from appearing twice on D-Bus. Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
This commit is contained in:
parent
d82669d3fd
commit
2ff378b44b
|
@ -574,8 +574,6 @@ do_delete (NMSettingsConnection *connection,
|
|||
/* Remove connection from seen-bssids database file */
|
||||
remove_entry_from_db (connection, "seen-bssids");
|
||||
|
||||
/* Signal the connection is removed and deleted */
|
||||
g_signal_emit (connection, signals[REMOVED], 0);
|
||||
callback (connection, NULL, user_data);
|
||||
g_object_unref (connection);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue