mirror of git://git.sysmocom.de/ofono
gdbus: Fix missing PropertiesChanged signal
If D-Bus ObjectManager is not supported, InterfacesAdded signal checking needs to be ignored otherwise PropertiesChanged signal will never be sent.
This commit is contained in:
parent
8910e64f84
commit
f93a6a2d06
|
@ -1701,8 +1701,11 @@ void g_dbus_emit_property_changed(DBusConnection *connection,
|
|||
if (iface == NULL)
|
||||
return;
|
||||
|
||||
/* Don't emit property changed if interface is not yet published */
|
||||
if (g_slist_find(data->added, iface))
|
||||
/*
|
||||
* If ObjectManager is attached, don't emit property changed if
|
||||
* interface is not yet published
|
||||
*/
|
||||
if (root && g_slist_find(data->added, iface))
|
||||
return;
|
||||
|
||||
property = find_property(iface->properties, name);
|
||||
|
|
Loading…
Reference in New Issue