From: José Roberto de Souza Date: Thu, 20 Dec 2012 22:04:02 +0000 (+0000) Subject: edbus: Mark instrospectable as dirty when needed X-Git-Tag: submit/devel/efl/20131022.203902~2710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29c5ffc21a6f38881ed2de7da44f9129da3e58d9;p=platform%2Fupstream%2Fefl.git edbus: Mark instrospectable as dirty when needed Patch by: José Roberto de Souza SVN revision: 81494 --- diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c index b39d1b9..3df3946 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); }