From 5a83ffea9a1a223e34fbe1de365ad76cf65023fa Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Tue, 17 Aug 2010 16:37:32 +0000 Subject: [PATCH] [PATCH 2/3] group_del: the object was not being deleted from hash In edje_edit_group_del, the object was not being removed from hash table collection SVN revision: 51256 --- legacy/edje/src/lib/edje_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/edje/src/lib/edje_edit.c b/legacy/edje/src/lib/edje_edit.c index 721f4bf0a4..ec00e0096e 100644 --- a/legacy/edje/src/lib/edje_edit.c +++ b/legacy/edje/src/lib/edje_edit.c @@ -998,7 +998,6 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name) ERR("EEK: Group \"%s\" still in use !", group_name); die = e->ref; e->ref = NULL; - eina_hash_del(ed->file->collection, group_name, e); } EINA_LIST_FOREACH(ed->file->collection_cache, l, g) @@ -1024,6 +1023,7 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name) /* Free Group */ if (die) _edje_collection_free(ed->file, die, e); + eina_hash_del(ed->file->collection, group_name, e); /* we need to save everything to make sure the file won't have broken * references the next time is loaded */