dbus: Raise PropertiesChanged on org.freedesktop.DBus.Properties
authorDaniel Drake <dsd@laptop.org>
Sat, 29 Oct 2011 16:23:42 +0000 (19:23 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 29 Oct 2011 16:26:33 +0000 (19:26 +0300)
commit4483f23e1556c9baf00608c4f76398cbe860962c
tree042d25fd8759eae567d560f980620e84b0de58da
parent266e2ee3cfd2084fc9ff252f6dcbb87fdf3a3655
dbus: Raise PropertiesChanged on org.freedesktop.DBus.Properties

wpa_supplicant dbus objects are currently difficult to use with
GDBusProxy. This is because they do not follow the dbus standard in
emitting the PropertiesChanged signal on the standard D-Bus properties
interface, so GDBusProxy stores stale property values.

Fix this by raising PropertiesChanged on the standard interface.
For backwards compatibility, the existing custom PropertiesChanged
signals are not removed; I anticipate them being removed in a future
major release.

See
http://lists.freedesktop.org/archives/dbus/2011-August/014593.html
for more info.

Signed-off-by: Daniel Drake <dsd@laptop.org>
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new_helpers.c