From 7fcb9e1f50a7add5d17d3fbb1d7166619c6a390b Mon Sep 17 00:00:00 2001 From: glima 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 git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@51256 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje_edit.c b/src/lib/edje_edit.c index 721f4bf..ec00e00 100644 --- a/src/lib/edje_edit.c +++ b/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 */ -- 2.7.4