core: fix duplicate values in NM-specific PropertiesChanged signals
authorDan Williams <dcbw@redhat.com>
Tue, 22 Mar 2016 18:00:56 +0000 (13:00 -0500)
committerDan Williams <dcbw@redhat.com>
Tue, 29 Mar 2016 20:52:23 +0000 (15:52 -0500)
commit415e9441ab77a8a24d51e5119112beb0d47a5545
treed32294e51fe173ed7e5b7a2eff65ad1b19b08b20
parent8b6a1ac62f2cb39b1246d7dff3525b1a8bb48f2c
core: fix duplicate values in NM-specific PropertiesChanged signals

GVariantBuilder doesn't care if you give it multiple dict entries with
the same key.  But that causes duplicate dict entries in the legacy
D-Bus PropertiesChanged signals that NM emits.  So instead go back to
a hash table to ensure that any previous value is dropped in favor of
the new one.
src/nm-exported-object.c