summaryrefslogtreecommitdiff
path: root/legacy/edbus/src/lib/edbus_service.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>2012-12-20 01:55:47 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-20 01:55:47 +0000
commitad6fdc585a56952912c334af5210cfe9d42daa9f (patch)
treedcc9c9b0678898fa23199011da3c22887e0536f5 /legacy/edbus/src/lib/edbus_service.c
parenta4327e30ecc00fc8dba318a0689b52389f348675 (diff)
edbus: Remove object path of service if ObjectManager is the last optional iface
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 81416
Diffstat (limited to '')
-rw-r--r--legacy/edbus/src/lib/edbus_service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c
index 45883bcda1..b39d1b9076 100644
--- a/legacy/edbus/src/lib/edbus_service.c
+++ b/legacy/edbus/src/lib/edbus_service.c
@@ -1458,5 +1458,8 @@ edbus_service_object_manager_detach(EDBus_Service_Interface *iface)
1458 ret = eina_hash_del(obj->interfaces, objmanager->name, NULL); 1458 ret = eina_hash_del(obj->interfaces, objmanager->name, NULL);
1459 obj->has_objectmanager = EINA_FALSE; 1459 obj->has_objectmanager = EINA_FALSE;
1460 obj->introspection_dirty = EINA_TRUE; 1460 obj->introspection_dirty = EINA_TRUE;
1461 //properties + introspectable
1462 if (eina_hash_population(iface->obj->interfaces) < 3)
1463 edbus_service_object_unregister(iface);
1461 return ret; 1464 return ret;
1462} 1465}