summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/object.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 0c112465..43fb1f06 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -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);