[PATCH 3/3] If the group is still in use it must not be deleted
authorglima <glima>
Tue, 17 Aug 2010 16:37:53 +0000 (16:37 +0000)
committerglima <glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 17 Aug 2010 16:37:53 +0000 (16:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@51257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_edit.c

index ec00e00..f50246e 100644 (file)
@@ -996,8 +996,7 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name)
    if (e->ref)
      {
        ERR("EEK: Group \"%s\" still in use !", group_name);
-       die = e->ref;
-       e->ref = NULL;
+       return EINA_FALSE;
      }
 
    EINA_LIST_FOREACH(ed->file->collection_cache, l, g)