summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-07-08 13:36:40 -0300
committerJosé Roberto de Souza <jose.souza@intel.com>2013-07-08 13:52:12 -0300
commit353de508988a5c4bb36b970f52cf9b67fce5decb (patch)
tree10ea9766cab0b4e8b41644136c6fed502bf37364 /src/lib/eldbus/eldbus_service.c
parent1debfc141a56a6b8cf0fbad06eb6cc412e78e25a (diff)
eldbus: Correclty check if user already create a object manager iface to object
CID: 1039421
Diffstat (limited to 'src/lib/eldbus/eldbus_service.c')
-rw-r--r--src/lib/eldbus/eldbus_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 22ad58adba..8f5ec2adbe 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -1414,7 +1414,7 @@ eldbus_service_object_manager_attach(Eldbus_Service_Interface *iface)
1414 return EINA_TRUE; 1414 return EINA_TRUE;
1415 1415
1416 /* Ugh. User already registered the ObjectManager interface himself? */ 1416 /* Ugh. User already registered the ObjectManager interface himself? */
1417 if (eina_hash_find(obj->interfaces, obj->objmanager->name)) 1417 if (eina_hash_find(obj->interfaces, objmanager->name))
1418 return EINA_FALSE; 1418 return EINA_FALSE;
1419 1419
1420 if (!eina_hash_add(obj->interfaces, objmanager->name, objmanager)) 1420 if (!eina_hash_add(obj->interfaces, objmanager->name, objmanager))