summaryrefslogtreecommitdiffstats
path: root/gdbus
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-30 00:58:04 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-30 00:58:59 -0800
commit37a54d0433189ea75657f9f04be852c0c35179e8 (patch)
tree554f4b63c20014cadeb56efb3498c30d8c09dba5 /gdbus
parent2f3da9cdf4e03dacaa8007f10b93989191c52891 (diff)
downloadofono-37a54d0433189ea75657f9f04be852c0c35179e8.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 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);