mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 15:40:22 +01:00
core: ensure new available connections generate a ProperiesChanged signal (bgo #697743)
The TRUE return got missed in the original commit of the AvailableConnections code. _try_add_available_connection() returns TRUE if the connection was added and FALSE if it wasn't, to allow the caller to optionally emit the PropertiesChanged signal. Only TRUE was never returned...
This commit is contained in:
parent
53d8f49bcd
commit
302e8ccab0
1 changed files with 1 additions and 0 deletions
|
|
@ -5783,6 +5783,7 @@ _try_add_available_connection (NMDevice *self, NMConnection *connection)
|
|||
g_hash_table_insert (NM_DEVICE_GET_PRIVATE (self)->available_connections,
|
||||
g_object_ref (connection),
|
||||
GUINT_TO_POINTER (1));
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue