From ebd31ace0c7c8e1c290591f2b5ffa17f7a612270 Mon Sep 17 00:00:00 2001 From: tasn Date: Sun, 6 May 2012 12:03:11 +0000 Subject: [PATCH] Eo: Fixed some issues. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70792 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- lib/eo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/eo.c b/lib/eo.c index fa72c30..491523a 100644 --- a/lib/eo.c +++ b/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; -- 2.7.4