summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-30 08:58:04 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-12-30 08:59:15 (GMT)
commit7ccd0235ff22fd79b39cfaaf8d65f5a309058571 (patch)
tree1d9232a4eebd3d6aa9a56a24b7789653fb237812 /gdbus
parent1e21e31eb64a32308bb78e2f012ff7389c3b9f86 (diff)
downloadconnman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.zip
connman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.tar.gz
connman-7ccd0235ff22fd79b39cfaaf8d65f5a309058571.tar.bz2
gdbus: Include changed properties only once per signal
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/object.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 776d35e..e13daf7 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);