From 29c5ffc21a6f38881ed2de7da44f9129da3e58d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Thu, 20 Dec 2012 22:04:02 +0000 Subject: [PATCH] edbus: Mark instrospectable as dirty when needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by: José Roberto de Souza SVN revision: 81494 --- legacy/edbus/src/lib/edbus_service.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c index b39d1b9076..3df394693b 100644 --- a/legacy/edbus/src/lib/edbus_service.c +++ b/legacy/edbus/src/lib/edbus_service.c @@ -956,8 +956,10 @@ edbus_service_interface_register(EDBus_Connection *conn, const char *path, const if (!signatures) return NULL; - if (obj == NULL) + if (!obj) obj = _edbus_service_object_add(conn, path); + else + obj->introspection_dirty = EINA_TRUE; EINA_SAFETY_ON_NULL_GOTO(obj, fail); iface = _edbus_service_interface_add(obj, desc->interface); @@ -1103,6 +1105,7 @@ edbus_service_interface_unregister(EDBus_Service_Interface *iface) return; } eina_hash_del(iface->obj->interfaces, NULL, iface); + iface->obj->introspection_dirty = EINA_TRUE; _interface_free(iface); }