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:
Jiří Klimeš 2012-11-05 14:59:57 +01:00
parent d82669d3fd
commit 2ff378b44b

View file

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