mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 21:20:10 +01:00
keyfile: use defines instead of strings for Removed signal
This commit is contained in:
parent
76147fc5e1
commit
cba20a98ca
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ update_connection_settings_commit_cb (NMSettingsConnection *orig, GError *error,
|
|||
error ? error->code : -1);
|
||||
g_clear_error (&error);
|
||||
|
||||
g_signal_emit_by_name (orig, "removed");
|
||||
g_signal_emit_by_name (orig, NM_SETTINGS_CONNECTION_REMOVED);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ remove_connection (SCPluginKeyfile *self,
|
|||
/* Removing from the hash table should drop the last reference */
|
||||
g_object_ref (connection);
|
||||
g_hash_table_remove (SC_PLUGIN_KEYFILE_GET_PRIVATE (self)->hash, name);
|
||||
g_signal_emit_by_name (connection, "removed");
|
||||
g_signal_emit_by_name (connection, NM_SETTINGS_CONNECTION_REMOVED);
|
||||
g_object_unref (connection);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue