summaryrefslogtreecommitdiff
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
parent1debfc141a56a6b8cf0fbad06eb6cc412e78e25a (diff)
downloadefl-353de508988a5c4bb36b970f52cf9b67fce5decb.tar.gz
eldbus: Correclty check if user already create a object manager iface to object
CID: 1039421
-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)
return EINA_TRUE;
/* Ugh. User already registered the ObjectManager interface himself? */
- if (eina_hash_find(obj->interfaces, obj->objmanager->name))
+ if (eina_hash_find(obj->interfaces, objmanager->name))
return EINA_FALSE;
if (!eina_hash_add(obj->interfaces, objmanager->name, objmanager))