From 302e8ccab076eb19b631c7238420119419b1dd7b Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 10 Apr 2013 16:03:00 -0500 Subject: [PATCH] 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... --- src/nm-device.c | 1 + 1 file changed, 1 insertion(+) 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;