mirror of git://git.sysmocom.de/ofono
gdbus: Include changed properties only once per signal
This commit is contained in:
parent
2f3da9cdf4
commit
37a54d0433
|
@ -1634,6 +1634,9 @@ void g_dbus_emit_property_changed(DBusConnection *connection,
|
|||
return;
|
||||
}
|
||||
|
||||
if (g_slist_find(iface->pending_prop, (void *) property) != NULL)
|
||||
return;
|
||||
|
||||
data->pending_prop = TRUE;
|
||||
iface->pending_prop = g_slist_prepend(iface->pending_prop,
|
||||
(void *) property);
|
||||
|
|
Loading…
Reference in New Issue