From 8c5644d5f88a3a40a450be394f2fa7f804cf88b0 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 6 May 2012 12:03:11 +0000 Subject: [PATCH] Eo: Fixed some issues. SVN revision: 70792 --- legacy/eobj/lib/eo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/eobj/lib/eo.c b/legacy/eobj/lib/eo.c index fa72c307b2..491523a231 100644 --- a/legacy/eobj/lib/eo.c +++ b/legacy/eobj/lib/eo.c @@ -1089,7 +1089,7 @@ eo_unref(Eo *obj) { WRN("obj->xrefs is not empty, possibly a bug, please report. - An error will be reported for each xref in the stack."); Eina_Inlist *nitr = obj->xrefs->next; - free(EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Kls_Itr_Node)); + free(EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Xref_Node)); obj->xrefs = nitr; } #endif @@ -1237,7 +1237,9 @@ eo_data_get(const Eo *obj, const Eo_Class *klass) } else { + /* FIXME: Enable this to only work when called from the outside. ERR("Tried getting data of class '%s', but it has none..", klass->desc->name); + */ } return NULL;