diff options
| author | Dan Williams <dcbw@redhat.com> | 2013-04-10 16:03:00 -0500 |
|---|---|---|
| committer | Dan Williams <dcbw@redhat.com> | 2013-04-10 16:03:00 -0500 |
| commit | 302e8ccab076eb19b631c7238420119419b1dd7b (patch) | |
| tree | a19215724f3c7290e35daec6ef6329c8a2e3235e | |
| parent | 53d8f49bcd2a2a49fd01e56321527cd2480014e7 (diff) | |
| download | NetworkManager-302e8ccab076eb19b631c7238420119419b1dd7b.tar.gz | |
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...
| -rw-r--r-- | src/nm-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-device.c b/src/nm-device.c index daaac17ab3..7488618e60 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -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; |
