diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-12-30 00:58:04 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-30 00:59:15 -0800 |
commit | 7ccd0235ff22fd79b39cfaaf8d65f5a309058571 (patch) | |
tree | 1d9232a4eebd3d6aa9a56a24b7789653fb237812 /gdbus | |
parent | 1e21e31eb64a32308bb78e2f012ff7389c3b9f86 (diff) | |
download | connman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.tar.gz connman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.tar.bz2 connman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.zip |
gdbus: Include changed properties only once per signal
Diffstat (limited to 'gdbus')
-rw-r--r-- | gdbus/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbus/object.c b/gdbus/object.c index 776d35ee..e13daf7d 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -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); |